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

Problems writing an NDA



This is my first desktop program so pardon me for asking a few stupid questions
:)

1. When I call _HiliteMenu to hilight a menu when the menu bar colors are
   non standard, the menu still gets hilighted in black & white. Why?

2. How does an NDA go about obtaining it's own UserID? EXEs get it from the
   accumulator and S16s from _MMStartUp, but how do DAs do it?

3. My NDA creates a _NewModelessDialog. Currently there are no items in the
   dialog. The problem is that if the window gets opened while there is a
   pending update event for another window, the update only executes after
   the modeless dialog is closed. Is this normal? If so, I don't like it.
   I tried to follow the code more or less exactly from someone else's NDA
   for which I have the soure code. The only difference is that the other
   NDA calls NewWindow, not NewModelessDialog, but what's the difference.
   And this other NDA works well (the pending update runs immediately)

If anyone has idea, thanks ahead of time.
 ______________________________________________________________________
|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~|
| Phillip Vandry | Vandry@Cam.Org | II the future! | II 1993!          |
|________________|________________|________________|___________________|
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~