Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-xp    |    Actually wasn't too bad for a M$-OS    |    17,273 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 16,985 of 17,273    |
|    R.Wieser to All    |
|    CreateDialog and sending a WM_NOTIFY fro    |
|    14 Nov 24 08:54:14    |
      XPost: alt.windows7.general, comp.os.ms-windows.programmer.win32       From: address@is.invalid              Hello all,              Maybe a bit of an esoteric problem, but one I would want to have solved       nonetheless:              I've got a program which puts up a settings dialog (using CreateDialog).       From this settings dialog I would like to send notifications (WM_NOTIFY) to       its parent.              The problem is, the NMHDR structure expects the "idFrom" field (the control       ID) to be filled in, and I can't find it (IDD_SETTINGS, as provided to the       CreateDialog call) stored anywhere. :-|              Question:              Is it stored anywhere in the dialog, and if so, where ?              Secondary question:              Will using SetWindowLong with the GWL_ID argument on a Dialog window create       any problems (does anything else use that field) ?              Regards,       Rudy Wieser              --- SoupGate-DOS v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca