flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
mns 01 Aug 2011, 17:08
please can any one tell me how to get static text control in a dialog box.
I'v tried as below FASMW compiled it but when run the programme it is not showing in the dialog box section '.rsrc' resource data readable directory RT_DIALOG, dialogs resource dialogs,\ IDD_MAIN, LANG_ENGLISH + SUBLANG_DEFAULT, main_dialog dialog main_dialog, 'my dialog', 0, 0, 500, 300, WS_CAPTION + WS_POPUP + WS_SYSMENU +DS_MODALFRAME + DS_CENTER dialogitem 'BUTTON','Search',IDOK,410,10,60,30,WS_VISIBLE+WS_TABSTOP+BS_DEFPUSHBUTTON dialogitem 'BUTTON','C&ancel',IDCANCEL,430,280,45,15,WS_VISIBLE+WS_TABSTOP+BS_PUSHBUTTON ;dialogitem 'EDIT','',IDC_EDIT1,200,15,160,20,WS_VISIBLE+WS_BORDER+WS_TABSTOP+ES_AUTOHSCROLL ;dialogitem 'EDIT','',IDC_EDIT2,20,50,460,220,WS_VISIBLE+WS_BORDER+WS_TABSTOP+ES_AUTOHSCROLL dialogitem 'STATIC', 'SAFDFDSSDSDDD', IDC_STATIC , 23, 10, 200, 120, SS_LEFT, 0 enddialog I'v attached the full source with this [/b]
|
|||||||||||
![]() |
|
yoshimitsu 01 Aug 2011, 17:37
dialogitem 'STATIC', 'SAFDFDSSDSDDD', IDC_STATIC , 23, 10, 200, 120, WS_VISIBLE+SS_LEFT, 0
|
|||
![]() |
|
mns 02 Aug 2011, 17:17
Thanx yoshimitsu for pointing out that,
I feel like a fool myself |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.