Well I solved it using:
EnableMenuItem(hMenu, IDR_ADMIN_CRIA_USER, MF_BYCOMMAND );
Sorry for the posting and answeing. I have been at this since yesterday, and only when I posted I found...
Type: Posts; User: keyboarder
Well I solved it using:
EnableMenuItem(hMenu, IDR_ADMIN_CRIA_USER, MF_BYCOMMAND );
Sorry for the posting and answeing. I have been at this since yesterday, and only when I posted I found...
Hi again,
I changed a menu's propriety "Grayed" to True, and now the menu is unclickable. I wanted to enable it in runtime if a specific login is entered.
I read some tutorials and...
lool sorry, I must have changed it before posting it. In the code I'm using, it's correct:
case WM_INITDIALOG:
for( i=0 ; i<10 ; i++)
{
SendDlgItemMessage(hWnd,...
I don't get it... something must be missing :S
I have to char arrays:
char names[10][50] = { "Julieta", "Martin", "Samanta", "Ruben", "Franco", "Sandra", "Marta", "Ofélia", "Carlos",...
WM_INITDIALOG
thanks google
I guess WM_CREATE
ok gonna try it ;) thanks for the teaching method :)
Got it ;) Thank you very much!
And what is the tipe of message? What do I put in the XXXX part of WM_XXXX to treat these messages?
Thanks again for the help
Here's how I open the DialogBox:
hDialog = CreateDialog(hInstance, MAKEINTRESOURCE(ID_DIALOG_TOP10), hWnd, (DLGPROC) Top10 );
ShowWindow(hDialog,SW_SHOW);
This is the funcion....
Hi all,
I have a generic WndProc() func running and I have a Dialog Box with a ListBox in it.
I enter a Menu Item to open the Dialog Box and enter a specific function I created to fill...