Search:
Type: Posts; User: v_nom70
Search:
Search took 0.03 seconds.
-
December 16th, 2012, 09:50 AM
mmm ok's im testing now... thanks guys.
-
December 15th, 2012, 05:55 PM
Hiho,
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!!!
// WinMain
SetTimer(hwnd, ID_MY_TIMER, 1000,(TIMERPROC) NULL);
// WndProc
case WM_TIMER:
switch (wp_wparam)
-
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
hi all,
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, 02:06 PM
Because I did not know that xD, when I need, I try to find.
I resolve:
SetCurrentDirectory("backup");
system(my_backup_query);
SetCurrentDirectory("..");//to return parent
-
June 13th, 2012, 01:17 PM
Hi, seek help again ^^ for a complete reference of the function system() because I want manage folders to backup mysql.
example:
char backup_path [100]="backup";//"c:\\backup"
if...
-
June 12th, 2012, 07:39 AM
wow ok, ok I'll remember that. :wave: regards.
-
I see but was what worked, now rewrite my code:
wndproc:
case WM_CREATE:
EnableMenuItem(GetMenu(hwnd), ID_ITEM1, MF_DISABLED);//by default disabled to test
dlgproc:
case WM_COMMAND:...
-
OOOOoooK I resolved ^^
Not need use WM_INITMENUPOPUP just call GetParent(hwnd).
INT_PTR CALLBACK dlg1 (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg)
{
-
Ok see my test code:
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch(msg)
{
case WM_CREATE://init my menu disable item
SendMessage...
-
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...
-
Hi,
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
-
Hello,
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
|