Posts by leonjun16
9 posts total, newest first.
RADIO BUTTON CONTROLin C++/C Programming - [QUOTE=giniyat101;6606468]send BM_GETCHECK message to your radio buttons specifing WPARAM and LPARAM parameters as NULL and if its checked it will return BST_CHECKED[/QUOTE]
BOOL CALLBACK DialogProc(HWND hwndDlg, UINRADIO BUTTON CONTROLin C++/C Programming - #define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "resource.h"
HINSTANCE hInst;
HWND hWndDlg;
BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch(uMsg)
c++ GUI CONTROLin C++/C Programming - [QUOTE=giniyat101;6585840]you may send CB_GETCURSEL to the combo box to check the selected item index
and you may use ExitWindowsEx (http://msdn.microsoft.com/en-us/library/aa376868(VS.85).aspx) to shutdown/ restart[/QUOc++ GUI CONTROLin C++/C Programming - LRESULT CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
HWND cboShutdown_After;
HWND cboTimer;
cboShutdown_After = GetDlgItem(hwndDlg, IDD_Shutdown_After_CBO);
cboTimer = GetDC, C++ and VC++ Snippetsin C++/C Programming - LRESULT CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
HWND cboShutdown_After;
const char *Shutdown_After[] = { "Shutdown After","Restart After" };
switch(uMsg)
{
Showing the 5 most recent posts.