#include "fivewin.ch"
//====================================================================================
Function Main
Local oDlg ,bActSi,bActNo,oChek,oChek1,oBrush
Local oGet := array(3)
LOcal oSay := array(1)
Local nAperte := 1
Local cAperte := '0'
Local dDalla := date()
Local dAlla := date()
Local cTest := space(12)
DEFINE BRUSH oBrush COLOR rgb(246,245,242)
DEFINE DIALOG oDlg RESOURCE "TEST" title 'Selezione ' BRUSH oBrush TRANSPARENT
REDEFINE GROUP oSay[1] PROMPT "aaaaaaaaa" ID 101 OF oDlg TRANSPARENT // COLOR
REDEFINE RADIO oChek1 VAR nAperte ID 54,55 OF oDlg
REDEFINE get oGet[1] Var cTest ID 102 of oDlg BITMAP "C:\FWH\bitmaps\16x16\FIND.bmp"
REDEFINE get oGet[2] Var dDalla ID 52 of oDlg
REDEFINE get oGet[3] Var dAlla ID 53 of oDlg
ACTIVATE DIALOG oDlg CENTERED
Return nil
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 6.50".
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE LANG_ITALIAN,SUBLANG_ITALIAN
TEST DIALOG FIXED IMPURE 36, -91, 345, 114
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
FONT 8, "MS Sans Serif"
{
CONTROL "", 102, "Edit", WS_BORDER|WS_DISABLED|WS_TABSTOP, 136, 18, 199, 14
CONTROL "", 52, "Edit", WS_BORDER|WS_TABSTOP, 188, 34, 56, 12
CONTROL "", 53, "Edit", WS_BORDER|WS_TABSTOP, 188, 48, 56, 12
CONTROL "Dalla data ", -1, "Static", WS_GROUP, 136, 36, 37, 10
CONTROL "Alla data ", -1, "Static", WS_GROUP, 136, 50, 46, 10
CONTROL "Solo scadenze &Aperte", 54, "Button", BS_AUTORADIOBUTTON, 9, 18, 95, 10
CONTROL "Scadenze aperte e &Chiuse", 55, "Button", BS_AUTORADIOBUTTON, 9, 34, 102, 10
CONTROL "Filtro :", 4001, "Button", BS_GROUPBOX, 3, 7, 120, 57
CONTROL "Tipo", 101, "Button", BS_GROUPBOX, 125, 7, 216, 57
}
1 24 "c:\fwh\samples\WinXP\WindowsXP.Manifest"
TEST DIALOG FIXED IMPURE 36, -91, 345, 114
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
FONT 8, "MS Sans Serif"
{
CONTROL "Filtro :", 4001, "Button", BS_GROUPBOX, 3, 7, 120, 57
CONTROL "Tipo", 101, "Button", BS_GROUPBOX, 125, 7, 216, 57
CONTROL "", 102, "Edit", WS_BORDER|WS_DISABLED|WS_TABSTOP, 136, 18, 199, 14
CONTROL "", 52, "Edit", WS_BORDER|WS_TABSTOP, 188, 34, 56, 12
CONTROL "", 53, "Edit", WS_BORDER|WS_TABSTOP, 188, 48, 56, 12
CONTROL "Dalla data ", -1, "Static", WS_GROUP, 136, 36, 37, 10
CONTROL "Alla data ", -1, "Static", WS_GROUP, 136, 50, 46, 10
CONTROL "Solo scadenze &Aperte", 54, "Button", BS_AUTORADIOBUTTON, 9, 18, 95, 10
CONTROL "Scadenze aperte e &Chiuse", 55, "Button", BS_AUTORADIOBUTTON, 9, 34, 102, 10
}
Maurizio wrote:Hello Rao,
Have you tried my example?
Thanks
Maurizio
DrawPBack( ::hWnd, hDC )
//ParentImage( ::hWnd, hDC )
//DrawPBack( ::hWnd, hDC )
ParentImage( ::hWnd, hDC )
ukservice wrote:So whith this fix whe don´t have to put BS_GROUPBOX at start of a dialog?.
Thank you.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 49 guests