[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cdkentry questions

From: Peter Jay Salzman
Subject: cdkentry questions
Date: Tue, 5 Feb 2002 21:13:54 -0800
User-agent: Mutt/1.3.25i

today is the first day of my life that i played around with cdk.  looks
great, but i have question.  how the heck does one get two cdkentry
boxes on the screen at once?   i mean something like:

  CDKENTRY *Entry[2];
  Entry[0] = newCDKEntry(cdkscreen, CENTER, CENTER, Title[0], "", A_NORMAL, '_',
        vMIXED, 40, 0, 256, TRUE, FALSE);
  Entry[1] = newCDKEntry(cdkscreen, 0, 0, Title[1], "", A_NORMAL, '_',
        vMIXED, 40, 0, 256, TRUE, FALSE);

according to the header files, the 2nd and 3rd arguments are xpos and
ypos.  in the demo programs, these are just "LEFT", "RIGHT" and
"CENTER".  i tried changing them to numbers to place the widget in an
arbitrary position (like 0, 0 in the 2nd widget above).

i'm starting to think these widgets can't be placed in an arbitrary
position, but that doesn't make sense.

how does one put two of these widgets on the screen at the same time?


Enron..safe legal abortion..civil liberties..cancelling ICBM treaties..
What's worse?  Screwing an intern or screwing an entire country?

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D

reply via email to

[Prev in Thread] Current Thread [Next in Thread]