Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: v_nom70

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,395

    Re: A little help! WM_PAINT + BMP

    mmm ok's im testing now... thanks guys.
  2. Replies
    5
    Views
    1,395

    [RESOLVED] A little help! WM_PAINT + BMP

    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...
  3. Re: date & time (non static) in statusbar

    Solved... thank you very much!!!



    // WinMain
    SetTimer(hwnd, ID_MY_TIMER, 1000,(TIMERPROC) NULL);

    // WndProc
    case WM_TIMER:
    switch (wp_wparam)
  4. Re: date & time (non static) in statusbar

    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.
  5. [RESOLVED] date & time (non static) in statusbar

    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...
  6. Replies
    3
    Views
    414

    Re: system() reference plz

    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
  7. Replies
    3
    Views
    414

    [RESOLVED] system() reference plz

    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...
  8. Replies
    10
    Views
    1,179

    Re: [RESOLVED] A little help with menu item plz!

    wow ok, ok I'll remember that. :wave: regards.
  9. Replies
    10
    Views
    1,179

    Re: A little help with menu item plz!

    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:...
  10. Replies
    10
    Views
    1,179

    Re: A little help with menu item plz!

    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)
    {
  11. Replies
    10
    Views
    1,179

    Re: A little help with menu item plz!

    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...
  12. Replies
    10
    Views
    1,179

    Re: A little help with menu item plz!

    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...
  13. Replies
    10
    Views
    1,179

    [RESOLVED] A little help with menu item plz!

    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:...
  14. Replies
    5
    Views
    605

    Re: Help! combobox+mysql

    SendMessage(hwnd, CB_RESETCONTENT, 0, 0);

    Thank you very much works for me, you are great.
  15. Replies
    5
    Views
    605

    Re: Help! combobox+mysql

    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
  16. Replies
    5
    Views
    605

    [RESOLVED] Help! combobox+mysql

    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.
    ...
Results 1 to 16 of 16


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center