The get is normal (not spinner)
- Code: Select all Expand view
#include "fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oGet, nGet := 1
DEFINE DIALOG oDlg RESOURCE "DIALOGO"
REDEFINE GET oGet VAR nGet ID 101 OF oDlg
ACTIVATE DIALOG oDlg CENTER
RETURN NIL
The get is normal
the .res program contains this code
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 6.00".
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
DIALOGO DIALOGEX DISCARDABLE 6, 18, 210, 142
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_CONTEXTHELP|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 0, 0, 1
{
CONTROL "OK", IDOK, "Button", WS_TABSTOP, 73, 116, 45, 15
CONTROL "Edit", 101, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 46, 22, 40, 12
}
King regards
marco