flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ouadji 23 Jun 2011, 20:14
How to get this frame style ![]() ![]() ![]() |
|||
![]() |
|
idle 23 Jun 2011, 20:18
BS_FLAT ?
|
|||
![]() |
|
idle 23 Jun 2011, 20:19
|
|||
![]() |
|
AsmGuru62 23 Jun 2011, 20:22
uhm... 1995 is long gone. It is time to paint some custom frames!
|
|||
![]() |
|
ouadji 23 Jun 2011, 20:33
@idle Quote: http://radasm.cherrytree.at/ ;<------ ??? @AsmGuru62 Quote: It is time to paint some custom frames! ![]() ![]() |
|||
![]() |
|
idle 23 Jun 2011, 20:40
http://radasm.cherrytree.at/ ;<------ ???
ouadji, ResEditor was implied, it helps to visualize, and comes with sources http://radasm.cherrytree.at/resed/ ![]() |
|||
![]() |
|
ouadji 23 Jun 2011, 22:57
it works ! ![]() Code: dialogitem 'STATIC','',ID_GROUP,x,x,x,x,WS_VISIBLE+BS_GROUPBOX ![]() thank you 'idle' for your help ![]() |
|||
![]() |
|
Gunner 23 Jun 2011, 23:15
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 24 Jun 2011, 08:07
thank you Gunner, i will try this way too. |
|||
![]() |
|
dancho 24 Jun 2011, 08:49
@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 24 Jun 2011, 09:58
cool tool
|
|||
![]() |
|
ouadji 24 Jun 2011, 14:25
DrawEdge does not work when i put his code in the "WM_INITDIALOG_code". But DrawEdge works correctly if I trigger it with a "button" (WM_COMMAND) Is there a notification that allows to use "DrawEdge" during the initialization of the dialog box? (WM_SHOWWINDOW ou WM_ENABLE doesn't work) |
|||
![]() |
|
AsmGuru62 24 Jun 2011, 19:23
Oh my... WM_INITDIALOG is not for drawing. You need an owner drawn control for that and draw in response to WM_DRAWITEM.
|
|||
![]() |
|
Gunner 24 Jun 2011, 19:42
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 24 Jun 2011, 23:27
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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.