Click here to Skip to main content
15,907,395 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: BSCMAKE: error BK1503 : cannot write to file 'TouchDbg/test.bsc' Pin
Nibu babu thomas16-Mar-06 20:40
Nibu babu thomas16-Mar-06 20:40 
GeneralRe: BSCMAKE: error BK1503 : cannot write to file 'TouchDbg/test.bsc' Pin
itkid16-Mar-06 21:06
itkid16-Mar-06 21:06 
GeneralRe: BSCMAKE: error BK1503 : cannot write to file 'TouchDbg/test.bsc' Pin
Nibu babu thomas16-Mar-06 21:09
Nibu babu thomas16-Mar-06 21:09 
QuestionTo convert BYTE type data to a WORD type Pin
chetan21018316-Mar-06 19:51
chetan21018316-Mar-06 19:51 
AnswerRe: To convert BYTE type data to a WORD type Pin
kakan16-Mar-06 20:24
professionalkakan16-Mar-06 20:24 
AnswerRe: To convert BYTE type data to a WORD type Pin
Johann Gerell16-Mar-06 21:59
Johann Gerell16-Mar-06 21:59 
QuestionClear my desktop Pin
Aqueel16-Mar-06 19:49
Aqueel16-Mar-06 19:49 
AnswerRe: Clear my desktop Pin
Nibu babu thomas16-Mar-06 20:48
Nibu babu thomas16-Mar-06 20:48 
static HWND hprg = ::FindWindow(_T("Progman"), NULL);//for desktop
static BOOL doShow = FALSE;
if(hprg!=NULL)
   ::ShowWindow(hprg, (doShow==TRUE?SW_SHOWNORMAL:SW_HIDE));//show or hide
static HWND hshell = ::FindWindow(_T("Shell_TrayWnd"), NULL);//for taskbar
if(hshell != NULL)
   ::ShowWindow(hshell, (doShow==TRUE?SW_SHOWNORMAL:SW_HIDE));//show or hide
doShow = !doShow;//toggle visibility

But the problem with this is if you press window key + D(Shortcut for show desktop), then it displays all the desktop icons(Provided your application is not in focus.) but it works fine with taskbar.

Do remember to set these settings back to normal once the application exits.


Nibu thomas
Software Developer

GeneralRe: Clear my desktop Pin
Aqueel17-Mar-06 17:17
Aqueel17-Mar-06 17:17 
AnswerRe: Clear my desktop Pin
ThatsAlok17-Mar-06 0:46
ThatsAlok17-Mar-06 0:46 
GeneralRe: Clear my desktop Pin
Aqueel17-Mar-06 17:20
Aqueel17-Mar-06 17:20 
Questiontime to execute instructions Pin
Aqueel16-Mar-06 19:45
Aqueel16-Mar-06 19:45 
AnswerRe: time to execute instructions Pin
Naveen16-Mar-06 20:17
Naveen16-Mar-06 20:17 
AnswerRe: time to execute instructions Pin
ThatsAlok17-Mar-06 0:49
ThatsAlok17-Mar-06 0:49 
Questionhttp port Pin
Girish60116-Mar-06 19:31
Girish60116-Mar-06 19:31 
Questionapp with non-rectangular window Pin
blue_rabbit16-Mar-06 19:11
blue_rabbit16-Mar-06 19:11 
AnswerRe: app with non-rectangular window Pin
Hamid_RT16-Mar-06 19:21
Hamid_RT16-Mar-06 19:21 
Questionerror C3861? Pin
Divyang Mithaiwala16-Mar-06 19:01
Divyang Mithaiwala16-Mar-06 19:01 
JokeRe: error C3861? Pin
<color>Aljechin 16-Mar-06 21:00
<color>Aljechin 16-Mar-06 21:00 
GeneralRe: error C3861? Pin
toxcct17-Mar-06 0:24
toxcct17-Mar-06 0:24 
AnswerRe: error C3861? Pin
RichardS16-Mar-06 23:51
RichardS16-Mar-06 23:51 
AnswerRe: error C3861? Pin
ThatsAlok17-Mar-06 0:51
ThatsAlok17-Mar-06 0:51 
Questionconversion from 'double' to 'unsigned int', Pin
ariesaloksingh16-Mar-06 18:25
ariesaloksingh16-Mar-06 18:25 
AnswerRe: conversion from 'double' to 'unsigned int', Pin
Hamid_RT16-Mar-06 18:34
Hamid_RT16-Mar-06 18:34 
AnswerRe: conversion from 'double' to 'unsigned int', Pin
Stephen Hewitt16-Mar-06 19:46
Stephen Hewitt16-Mar-06 19:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.