flat assembler
Message board for the users of flat assembler.
Index
> Windows > can't create maximized window |
Author |
|
LocoDelAssembly 25 Jun 2006, 14:15
Your program opens a maximized window on my WinXP.
[edit]Sorry, it only works if I run it from FASMW, but if I just do double click over the exe file on the desktop it opens a very small window :S This code fix the problem: Code: invoke CreateWindowEx,0,_class,_title,\ WS_OVERLAPPEDWINDOW,\ ;Shouldn't this load a maximized window? 128,128,192,192,\ NULL,NULL,[wc.hInstance],NULL invoke ShowWindow, eax, SW_SHOWMAXIMIZED |
|||
25 Jun 2006, 14:15 |
|
sobrien 25 Jun 2006, 16:31
Thx for the reply locode, but let me reiterate my OP
Quote: ...how to create a maximized window Quote: I can maximize it after creation... (Which is what you are doing in your code) and from the code... Quote: From win32hlp :- and the window style I used in CreatWindowEx was Quote: WS_VISIBLE+WS_OVERLAPPEDWINDOW+WS_MAXIMIZE but this isn't creating a maximized window. |
|||
25 Jun 2006, 16:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.