flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ouadji
How to get this frame style ![]() ![]() ![]() |
|||
![]() |
|
idle
BS_FLAT ?
|
|||
![]() |
|
idle
|
|||
![]() |
|
AsmGuru62
uhm... 1995 is long gone. It is time to paint some custom frames!
|
|||
![]() |
|
ouadji
@idle Quote: http://radasm.cherrytree.at/ ;<------ ??? @AsmGuru62 Quote: It is time to paint some custom frames! ![]() ![]() |
|||
![]() |
|
idle
http://radasm.cherrytree.at/ ;<------ ???
ouadji, ResEditor was implied, it helps to visualize, and comes with sources http://radasm.cherrytree.at/resed/ ![]() |
|||
![]() |
|
ouadji
ok, understood, thank you idle. what I want is called a groupbox (first step ![]() well, how to create a groupbox in assembler edit: i found : BS_GROUPBOX (I try that right now) |
|||
![]() |
|
ouadji
it works ! ![]() Code: dialogitem 'STATIC','',ID_GROUP,x,x,x,x,WS_VISIBLE+BS_GROUPBOX ![]() thank you 'idle' for your help ![]() |
|||
![]() |
|
Gunner
Or, you could use the DrawEdge API
http://msdn.microsoft.com/en-us/library/dd162477(v=vs.85).aspx it is in User32 and been included in Windows since 95 _________________ ~Rob (Gunner) Forum Spam List Checker Window Error Lookup Tool and MORE! |
|||
![]() |
|
ouadji
thank you Gunner, i will try this way too. |
|||
![]() |
|
dancho
@ouadji
check ResEdit too ( free resource editor ) http://www.resedit.net/ btw it has one nice feature , it can generate c++ code for the dialogs and menus ( easilly translate to fasm code ) |
|||
![]() |
|
idle
cool tool
|
|||
![]() |
|
AsmGuru62
Oh my... WM_INITDIALOG is not for drawing. You need an owner drawn control for that and draw in response to WM_DRAWITEM.
|
|||
![]() |
|
Gunner
drawitem goes in your wm_paint handler for your window between a call to beginpaint and endpaint.... That is where you can draw all your frames
_________________ ~Rob (Gunner) Forum Spam List Checker Window Error Lookup Tool and MORE! |
|||
![]() |
|
ouadji
Code: WM_DRAWITEM ---> my WM_PAINT handler {beginpaint/ DrawEdge /endpaint} WM_DRAWITEM is the "notification" that i was looking for. Gunner, AsmGuru62 ... thank you very much for your help. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.