flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
calpol2004 11 Feb 2006, 15:01
i tried making the login window the parent then in the new window i made it use GetParent() then end the old window using the handle returned, this worked however the new window didn't have its own space in the taskbar. i tried using code from the "USECOM" example to make it "show" in the taskbar, this half worked, it had a place however the window wasnt entirely associated with it. when the window minimized it wouldn't minize into its taskbar space but into the bottom left corner and the title bar would sit there just above the "start" button. anyway i need some timeout this is stressing me out a bit
![]() it's supposed to be a chat room, im currently setting up my server to interact with the program, though sooner i get the UI done for this the better.
|
|||||||||||
![]() |
|
Reverend 11 Feb 2006, 17:35
Do like this:
- create a dword variable initialized to 0 named hwnd_global (or sth similar) - in wm_initdialog handler: * check if [hwnd_global] == 0 * if yes copy [hwnddlg] to [hwnd_global] * if no skip over to the next task (ie. do nothing) - now pass the [hwnd_global] value to ShowWindow or EndDialog when needed |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.