Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hide desktop icons in xp...

Posted on 2004-08-30
3
Medium Priority
?
269 Views
Last Modified: 2010-04-05
Hello... Can someone show me a code for 1) hidding desktop icons in xp, 2) disabling rightclick in xp desktop... Thanks... I'm using delphi 7...
0
Comment
Question by:virus05
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
ceoworks earned 500 total points
ID: 11938547
0
 
LVL 4

Expert Comment

by:ceoworks
ID: 11938581
2) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NoViewContextMenu.. 0: enable, 1: disable
0
 

Expert Comment

by:blackcat67
ID: 11939048
procedure showdesktop(Show: Boolean);
var
  wnd: HWND;
begin
  wnd := FindWindow('progman', nil );
  if wnd <> 0 then
    if show then
      ShowWindow( wnd, SW_SHOW )
    else
      ShowWindow( wnd, SW_HIDE )
  else
    showmessage( 'Desktop not found' );
end;
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question