Radionbutton deaktivieren
-
hallo
ich will einen RaionButton deaktivieren, so dass er noch sichtbar ist, aber nichtmehr bedient werden kann
-
Radiobuttons sind auch nur Fenster. Also einfach das Fenster deaktivieren.
-
EnableWindow(hWnd,FALSE);
-
ich hab den RadionButton in einem dialog in einem resource file, wie krieg ich aus der zahl die auf den Radionbutton representiert einen dateityp hwnd?
-
GetDlgItem
-
wie sieht das genauetr aus?
mit GetDlgItem holt man doch den text aus eim textfeld, kann man damit auch das HWND auf einen Radionbutton kriegen, und wie?
-
http://msdn.microsoft.com/en-us/library/ms645481(VS.85).aspx
Return Value
If the function succeeds, the return value is the window handle of the specified control.
If the function fails, the return value is NULL, indicating an invalid dialog box handle or a nonexistent control. To get extended error information, call GetLastError.
-
oh ja...
vielen dank für die superschnell antwort!!!!