Solved

hide desktop icons in xp...

Posted on 2004-08-30
3
265 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 125 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi...Split view - idea? 1 146
How to add columns to a RAD Studio FMX grid at design time 1 60
Broadcast a message using ICS 2 51
QuickReport, Delphi, Shape 12 48
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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