| | |
XP Window Hide
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
You are able to hide the desktop icons on xp by right clicking on the desktop and choosing to hide them, but how would you do it through c++? I was messing around with DestroyWindow and ShowWindow, but I cant figure it out. Any help?
WinSpector is telling me that the class is #32768 and the window is 001802cc, but I dont really know how to make use of that.
WinSpector is telling me that the class is #32768 and the window is 001802cc, but I dont really know how to make use of that.
Last edited by clutchkiller; Jan 3rd, 2009 at 7:55 pm.
>That confuses me =(
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
I apologize if i didnt explain well enough. If you right click on the desktop when using windows XP, you can choose an option to hide the desktop icons. I was wondering how i would do that through c++ instead of having to use the mouse and manually do it. I am using the term "hide" as a general term, nothing code related.
>That confuses me =(
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
What you may consider instead, is killing the process "explorer.exe". Then do a findwindow and look for taskmanager... if you see task manager, send a wm_close message (so they can't just open task manager, and run explorer.exe again). With explorer.exe gone... they have access to nothing but taskman... just a thought.
That was my original idea comatose, but i couldnt figure out how to work the ExitProcess() function. I am still pretty new to programming, so i dont really understand yet how to properly handle the parameters. I would rather end explorer but dont know how. Could you elaborate for me, if you dont mind?
>That confuses me =(
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
Get used to it. Good programmers are in a constant state of confusion.
>Looks like i have some quasi specifics to investigate! Up Up And AWAY!
I've Attached Two Projects (I use Code::Blocks In Windows, gvim In *nix to write code). The projects are in code::blocks format, but you only need the .cpp files. Both of these are commented basically line for line (if not, at least each code block is). I think it will be a great way to learn... by taking snippets from projects and putting them in your project. If you run across issues with making the code work in your project, let me know, and we can work on making it work tailored to your need.
Last edited by Comatose; Jan 3rd, 2009 at 11:15 pm.
lol... he wanted to kill explorer.exe... it shows him how to enumerate processes to filter out which ones are which.
Also, this is hardly irrelevant BS. I was asked by someone (a computer tech, who fixes computers for people with messed up windows machines [instead of reinstalling all the time]) to build this program, since it closes everything except what windows needs to operate (it closes all programs that windows doesn't require, leaving a clean system).
Anyway, the OP found it useful... so your opinion is moot.
Also, this is hardly irrelevant BS. I was asked by someone (a computer tech, who fixes computers for people with messed up windows machines [instead of reinstalling all the time]) to build this program, since it closes everything except what windows needs to operate (it closes all programs that windows doesn't require, leaving a clean system).
Anyway, the OP found it useful... so your opinion is moot.
![]() |
Similar Threads
- Return the window title (C++)
- prototype.js/window.js close "Window" from iframe? (JavaScript / DHTML / AJAX)
- Open In New Window Php (PHP)
- hide link if variable is empty (JSP)
- IE takes 10 or so seconds to load (first start up and new window) (Web Browsers)
- Hide all DIV's On Click (JavaScript / DHTML / AJAX)
- document.write to new window and into a 3 column table! Help Please! (JavaScript / DHTML / AJAX)
- GUI Window - Exit Button? (Java)
- Spelling Test using a button GUI environment..how do I create a brand new window? (Java)
Other Threads in the C++ Forum
- Previous Thread: songa rating prog
- Next Thread: Help with what should be a very simple code task.
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector visualstudio win32 windows winsock word wordfrequency wxwidgets






