flat assembler
Message board for the users of flat assembler.
Index
> Main > frame style (?) |
Author |
|
ouadji 23 Jun 2011, 20:14
How to get this frame style |
|||
23 Jun 2011, 20:14 |
|
idle 23 Jun 2011, 20:18
BS_FLAT ?
|
|||
23 Jun 2011, 20:18 |
|
idle 23 Jun 2011, 20:19
|
|||
23 Jun 2011, 20:19 |
|
AsmGuru62 23 Jun 2011, 20:22
uhm... 1995 is long gone. It is time to paint some custom frames!
|
|||
23 Jun 2011, 20:22 |
|
ouadji 23 Jun 2011, 20:33
@idle Quote: http://radasm.cherrytree.at/ ;<------ ??? @AsmGuru62 Quote: It is time to paint some custom frames! |
|||
23 Jun 2011, 20:33 |
|
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/ |
|||
23 Jun 2011, 20:40 |
|
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 |
|||
23 Jun 2011, 22:57 |
|
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! |
|||
23 Jun 2011, 23:15 |
|
ouadji 24 Jun 2011, 08:07
thank you Gunner, i will try this way too. |
|||
24 Jun 2011, 08:07 |
|
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 ) |
|||
24 Jun 2011, 08:49 |
|
idle 24 Jun 2011, 09:58
cool tool
|
|||
24 Jun 2011, 09:58 |
|
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) |
|||
24 Jun 2011, 14:25 |
|
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.
|
|||
24 Jun 2011, 19:23 |
|
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! |
|||
24 Jun 2011, 19:42 |
|
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. |
|||
24 Jun 2011, 23:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.