flat assembler
Message board for the users of flat assembler.

Index > Windows > [SOLVED]To draw a window with the painting area's size known

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 648
l4m2
I tried
Code:
            push NULL [wc.hInstance] NULL NULL
            invoke GetSystemMetrics,8 ;y
            add eax,420
            push eax
            invoke GetSystemMetrics,7 ;x
            add eax,480
            push eax
            invoke  CreateWindowEx,0,_class,_title,WS_VISIBLE+WS_OVERLAPPED+WS_SYSMENU+WS_MINIMIZEBOX+WS_DLGFRAME ,16,16    
but several pixels' diference keep there


Last edited by l4m2 on 28 Feb 2015, 15:41; edited 1 time in total
Post 28 Feb 2015, 01:59
View user's profile Send private message Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 648
l4m2
Solved by another api
Post 28 Feb 2015, 02:08
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 17:44; edited 1 time in total
Post 28 Feb 2015, 03:08
View user's profile Send private message Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 648
l4m2
HaHaAnonymous wrote:
Quote:

Solved by another api

TIP:
If you solved the problem by yourself then you could just delete your first post and the topic would be deleted.
if just after the posting or i couldn't right?
Post 28 Feb 2015, 15:42
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
l4m2 wrote:
if just after the posting or i couldn't right?
Just tried to delete my week-old post, at least I'd got Yes/No prompt (thus, last post seems to be deletable if it's yours).

In fact, detailed explanation of what's not working and how the problem was solved is much better than a blinked topic.
Post 28 Feb 2015, 18:29
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.