Placing GUI in Top Right Corner
Hi,
Ive got an application written and running.
However when the program starts i'd like the app to be located in the top right corner of the screen.
How can i do this please??
Currently the dialog box is set up like this
PHP Code:
IDD_CONFIG_DIALOG DIALOG DISCARDABLE 0, 0, 225, 347
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Test Box"
FONT 8, "Arial"
BEGIN
I take it the 0, 0 value make it start up in the top left, so therefore how can i work out the screensize etc?? If thats the best way to do it??
Any help whatsoever would be great
Thanks,
Paul