Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. window?

window?

Scheduled Pinned Locked Moved C / C++ / MFC
comhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    i want to set at the frount (that window area should not be covered by any other window ) all thoes windows that are apperaing on the desktop one by one.but i could not successed. i am using this code but could not get success. is there any mistake or any other logic to do that plz help.
    ///////////////////////////////////////////////////
    EnumDesktopWindows(NULL,cbEnumWindows1,(LPARAM)( &EnumParam ) );
    /////////////////////////////////////////////////////////
    EnumWindows( cbEnumWindows1, (LPARAM)( &EnumParam ) );

    /////////////////////////////////////////////////////////
    BringWindowToTop(ch_Hwnd);
    ShowWindowAsync (ch_Hwnd,SW_SHOWNORMAL);
    //ShowWindowAsync (ch_Hwnd,SW_FORCEMINIMIZE);
    //ShowWindowAsync(desk_ch_Hwnd,SW_MINIMIZE);
    
    //ShowWindowAsync(ch_Hwnd,SW_MAXIMIZE);
    ShowWindowAsync(ch_Hwnd,SW_SHOWNORMAL);
    ShowWindowAsync(ch_Hwnd,SW_RESTORE);
    ShowWindowAsync(ch_Hwnd,SW_SHOWNORMAL);
    ShowWindowAsync(ch_Hwnd,SW_SHOW);
    
    SetForegroundWindow(ch_Hwnd);
    ::SendMessage(ch_Hwnd,WM_PAINT,(WPARAM )0,(LPARAM)0);
    ::SendMessage(ch_Hwnd,SW_OTHERUNZOOM,(WPARAM )true,(LPARAM)SW_OTHERUNZOOM);r00d0034@yahoo.com
    
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups