at first i Open an window that is screencentered and windwcenterd , then i can got it like this :
screenh=2*WindowY()+WindowHeight()+24
screenw=2*WindowX()+WindowWidth()+6
hehe..... and it worked。why to add 24 and 6,I don't know....
the new version can got it by the new procedure DesktopWidth ...
					Search found 3 matches
- Thu Nov 03, 2005 6:29 am
 - Forum: Coding Questions
 - Topic: Getting the size of a monitor
 - Replies: 10
 - Views: 2769
 
- Thu Nov 03, 2005 6:21 am
 - Forum: Coding Questions
 - Topic: Invisble Gadget - Bug only on Win2000 ?
 - Replies: 15
 - Views: 4071
 
it not working under win2000+sp4
it not working under win2000+sp4 ,only can see slowly show and slowly out , other contrls cannot seen .....
---------follow are chinese ------以下为汉语----------------
win2000+sp4只有渐显和渐隐效果,控件差不多都看不到.
[/img]
- Thu Nov 03, 2005 6:10 am
 - Forum: Coding Questions
 - Topic: Why windows can't be refreshed correctly?
 - Replies: 16
 - Views: 4275
 
there are some thing wrong...
RunProgram("notepad.exe")
hWndNotepad=FindWindow_("Notepad",#Null)
While hWndNotepad=0
Delay(100)
hWndNotepad=FindWindow_("Notepad",#Null)
Wend
have you thinked when notepad.exe cann't be run normoly what thing wold happen ? dead! yes,your program would not be running .
Oh,my poor English ...
					hWndNotepad=FindWindow_("Notepad",#Null)
While hWndNotepad=0
Delay(100)
hWndNotepad=FindWindow_("Notepad",#Null)
Wend
have you thinked when notepad.exe cann't be run normoly what thing wold happen ? dead! yes,your program would not be running .
Oh,my poor English ...