Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: obtaining coords on a an icon/mouse that was double clicked to start an application Pin
Programm3r30-Aug-06 21:48
Programm3r30-Aug-06 21:48 
QuestionWorking with UDP Pin
Kiran Pinjala30-Aug-06 19:45
Kiran Pinjala30-Aug-06 19:45 
AnswerRe: Working with UDP Pin
_AnsHUMAN_ 30-Aug-06 20:13
_AnsHUMAN_ 30-Aug-06 20:13 
GeneralRe: Working with UDP Pin
Kiran Pinjala30-Aug-06 21:25
Kiran Pinjala30-Aug-06 21:25 
AnswerRe: Working with UDP Pin
Hamid_RT31-Aug-06 6:41
Hamid_RT31-Aug-06 6:41 
Questiondeterminig virtual folders using PIDL Pin
sach!!30-Aug-06 19:38
sach!!30-Aug-06 19:38 
AnswerRe: determinig virtual folders using PIDL Pin
Hamid_RT30-Aug-06 21:49
Hamid_RT30-Aug-06 21:49 
GeneralRe: determinig virtual folders using PIDL Pin
sach!!30-Aug-06 22:53
sach!!30-Aug-06 22:53 
Thx for the link! It was really helpful. I am facing a new problem now.

I am using SHGetDataFromIDList() function to determine the type of the PIDL variable.
Althought the fucntion returns NOERROR, I am not able to check the values of pv.dwDescriptionId structure. WHat I am trying to do is check dwDescriptionId and determine whether it is a FIXED drive or a removable.

here is my code

SHDESCRIPTIONID pv;<br />
	HRESULT hres=SHGetDataFromIDList(pParentFolder,pidl,SHGDFIL_DESCRIPTIONID,&pv,sizeof(SHDESCRIPTIONID));<br />
	if(hres==E_INVALIDARG) <br />
	{<br />
		MessageBox("ERROR","OK",MB_OK);<br />
	}<br />
	if(pv.dwDescriptionId & SHDID_COMPUTER_REMOVABLE)<br />
	{<br />
		MessageBox("REMOVABLE","OK",MB_OK);<br />
		return;<br />
	}

Plz help me!!
QuestionShow Desktop Problem which minmizes all the window Pin
payal33530-Aug-06 19:34
payal33530-Aug-06 19:34 
AnswerRe: Show Desktop Problem which minmizes all the window Pin
Waldermort30-Aug-06 20:04
Waldermort30-Aug-06 20:04 
GeneralRe: Show Desktop Problem which minmizes all the window Pin
payal33530-Aug-06 20:28
payal33530-Aug-06 20:28 
GeneralRe: Show Desktop Problem which minmizes all the window Pin
Waldermort30-Aug-06 20:52
Waldermort30-Aug-06 20:52 
QuestionProblem in Transparent Edit Control. Pin
uday kiran janaswamy30-Aug-06 19:23
uday kiran janaswamy30-Aug-06 19:23 
AnswerRe: Problem in Transparent Edit Control. Pin
payal33530-Aug-06 20:16
payal33530-Aug-06 20:16 
AnswerRe: Problem in Transparent Edit Control. Pin
Hamid_RT30-Aug-06 22:50
Hamid_RT30-Aug-06 22:50 
QuestionRegFlushKey doubt Pin
ashokvishnu30-Aug-06 19:14
ashokvishnu30-Aug-06 19:14 
AnswerRe: RegFlushKey doubt Pin
Waldermort30-Aug-06 20:17
Waldermort30-Aug-06 20:17 
GeneralRe: RegFlushKey doubt Pin
ashokvishnu30-Aug-06 20:42
ashokvishnu30-Aug-06 20:42 
QuestionThead questions Pin
Nicknz30-Aug-06 19:13
Nicknz30-Aug-06 19:13 
AnswerRe: Thead questions Pin
cmk1-Sep-06 0:08
cmk1-Sep-06 0:08 
GeneralRe: Thead questions Pin
Nicknz3-Sep-06 14:09
Nicknz3-Sep-06 14:09 
Questionlocale dll, sugg please Pin
spicy_kid200030-Aug-06 18:21
spicy_kid200030-Aug-06 18:21 
AnswerRe: locale dll, sugg please Pin
Waldermort30-Aug-06 20:14
Waldermort30-Aug-06 20:14 
AnswerRe: locale dll, sugg please Pin
toxcct30-Aug-06 21:48
toxcct30-Aug-06 21:48 
QuestionDIB and normal BITMAP Pin
HakunaMatada30-Aug-06 18:08
HakunaMatada30-Aug-06 18:08 

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.