Type: Posts; User: v_nom70
Search took 0.01 seconds.
December 16th, 2012, 09:50 AM
mmm ok's im testing now... thanks guys.
December 15th, 2012, 05:55 PM
I just want to put a background image in my app, apparently works well but not, after a few clicks to resize it, my pc slow down, and I do not see the problem or may be my code...
December 13th, 2012, 10:07 PM
Solved... thank you very much!!!
SetTimer(hwnd, ID_MY_TIMER, 1000,(TIMERPROC) NULL);
December 13th, 2012, 09:50 PM
Humm.. I forgot to say, do not use C# or MFC, I use vs2010 winapi 32 + mysql, but thank you wrote, I found WM_TIMER and SetTimer trying to find a solution.
December 13th, 2012, 08:19 PM
I'm trying to place the date and time in my statusbar, but the time does not change and remains static, I think I need a loop or something, I google it and found several ways to get time...
June 13th, 2012, 03:06 PM
Because I did not know that xD, when I need, I try to find.
SetCurrentDirectory("..");//to return parent
June 13th, 2012, 02:17 PM
Hi, seek help again ^^ for a complete reference of the function system() because I want manage folders to backup mysql.
char backup_path ="backup";//"c:\\backup"
June 12th, 2012, 08:39 AM
wow ok, ok I'll remember that. :wave: regards.
I see but was what worked, now rewrite my code:
EnableMenuItem(GetMenu(hwnd), ID_ITEM1, MF_DISABLED);//by default disabled to test
OOOOoooK I resolved ^^
Not need use WM_INITMENUPOPUP just call GetParent(hwnd).
INT_PTR CALLBACK dlg1 (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
Ok see my test code:
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_CREATE://init my menu disable item
Yes is the same problem, excuse my language
Now I use as said ovidiucucu WM_INITMENUPOPUP:
SendMessage (hwnd,WM_INITMENUPOPUP,EnableMenuItem(GetMenu(hwnd), ID_ITEM1, MF_DISABLED),0);// to...
I'm trying to disable/enable an item menu, but half works because when I create my window the send message to disable is OK, but pressing my button does not enable and fail.
Part of my code:...
SendMessage(hwnd, CB_RESETCONTENT, 0, 0);
Thank you very much works for me, you are great.
Ok my mistake, how I can edit the post;
I have problem when I try to refresh my combobox because it is filled with mysql_query fields.
thanks for the help
I try to make a DBManager gui for testing mysql in vs2010 but have problen wn try to refresh the combobox or clear the combobox bcz is filled w mysql_query.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.