Hi
I want to add a Spin to an edit so Ican increment or decrement the numbers
in my Edit.
I tryed the :
but it doenst show me the spin
g_hWndEditBref= CreateWindow( TEXT("Edit"), TEXT("0000"), WS_CHILD |
WS_VISIBLE | WS_BORDER| ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE,
100, 50, 80, 36, hWnd, NULL, g_hInst, NULL);
g_hWndBrefSpin= CreateWindow(TEXT("UpDownClass"), NULL, WS_VISIBLE |
UDS_ALIGNRIGHT | UDS_NOSCROLL,
100, 40, 16, 16, hWnd, NULL, g_hInst, NULL);
SendMessage(g_hWndBrefSpin, UDM_SETBUDDY, (WPARAM)g_hWndEditBref, 0);
there is a help on ExpandableEdit
http://msdn.microsoft.com/en-us/library/aa457780.aspx
but the expnadable control (alon or with the Spin, dos'nt show) on WM 2003 SE
??? is it only for smartphone ???
Thanks