Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OpenGl Library files Pin
Chandrasekharan P16-Jun-09 20:33
Chandrasekharan P16-Jun-09 20:33 
AnswerRe: OpenGl Library files Pin
Naveen16-Jun-09 23:14
Naveen16-Jun-09 23:14 
QuestionGetting faulting module OLEACC.dll, version 4.2.5406.0 error in Event viewer application log ? Pin
shan_chandru16-Jun-09 20:11
professionalshan_chandru16-Jun-09 20:11 
QuestionHow to get Windows media player status(playing/paused) by SendMessage Pin
Md. Ali Naser Khan16-Jun-09 19:23
Md. Ali Naser Khan16-Jun-09 19:23 
AnswerRe: How to get Windows media player status(playing/paused) by SendMessage Pin
Member 139415367-Aug-18 15:17
Member 139415367-Aug-18 15:17 
QuestionVC++ 6.0 SetupDiGetClassImageList query Pin
callousfantom16-Jun-09 19:23
callousfantom16-Jun-09 19:23 
QuestionRe: VC++ 6.0 SetupDiGetClassImageList query Pin
norish16-Jun-09 20:06
norish16-Jun-09 20:06 
AnswerRe: VC++ 6.0 SetupDiGetClassImageList query Pin
callousfantom16-Jun-09 21:25
callousfantom16-Jun-09 21:25 
Hey, I've added all the code relevant to retreival of ImageList below. There is nothing other than this in my code. Please have a look and let me know what modifications it would require. Thanks!Smile | :)

Code:

PSP_CLASSIMAGELIST_DATA imageList={0};int imIndex;
CImageList imList;
imageList->cbSize=sizeof(SP_CLASSIMAGELIST_DATA);
SetupDiGetClassImageList(imageList);
imList.Attach(imageList->ImageList);
m_Tree.SetImageList(&imList,TVSIL_NORMAL);

/*devInfo is a valid SP_DEVINFO_DATA structure.I know this because the tree control shows the correct output(without any images though)*/

SetupDiGetClassImageIndex(imageList,&devInfo.ClassGuid,&imIndex);

I later use imIndex to set the iImage property of TVITEM structure. This is node that is later inserted into the tree.
QuestionRe: VC++ 6.0 SetupDiGetClassImageList query Pin
norish17-Jun-09 2:27
norish17-Jun-09 2:27 
AnswerRe: VC++ 6.0 SetupDiGetClassImageList query [modified] Pin
callousfantom18-Jun-09 19:01
callousfantom18-Jun-09 19:01 
GeneralRe: VC++ 6.0 SetupDiGetClassImageList query Pin
norish19-Jun-09 5:44
norish19-Jun-09 5:44 
GeneralRe: VC++ 6.0 SetupDiGetClassImageList query Pin
Po-Yu14-Jul-10 16:45
Po-Yu14-Jul-10 16:45 
Question[Message Deleted] Pin
V K 216-Jun-09 18:42
V K 216-Jun-09 18:42 
AnswerRe: How to modify copyright information for a MFC dll Pin
Nibu babu thomas16-Jun-09 18:53
Nibu babu thomas16-Jun-09 18:53 
AnswerRe: How to modify copyright information for a MFC dll Pin
_AnsHUMAN_ 16-Jun-09 19:15
_AnsHUMAN_ 16-Jun-09 19:15 
QuestionHow to get file version of an MFC application? Pin
kapardhi16-Jun-09 18:26
kapardhi16-Jun-09 18:26 
AnswerRe: How to get file version of an MFC application? Pin
Nibu babu thomas16-Jun-09 18:48
Nibu babu thomas16-Jun-09 18:48 
QuestionRe: How to get file version of an MFC application? Pin
kapardhi16-Jun-09 23:47
kapardhi16-Jun-09 23:47 
AnswerRe: How to get file version of an MFC application? Pin
Nibu babu thomas17-Jun-09 1:53
Nibu babu thomas17-Jun-09 1:53 
QuestionIs this do able in VC++? Or is there a better way. Pin
FISH78616-Jun-09 11:51
FISH78616-Jun-09 11:51 
AnswerRe: Is this do able in VC++? Or is there a better way. Pin
Garth J Lancaster16-Jun-09 12:25
professionalGarth J Lancaster16-Jun-09 12:25 
GeneralRe: Is this do able in VC++? Or is there a better way. Pin
FISH78616-Jun-09 12:41
FISH78616-Jun-09 12:41 
GeneralRe: Is this do able in VC++? Or is there a better way. Pin
Garth J Lancaster16-Jun-09 12:44
professionalGarth J Lancaster16-Jun-09 12:44 
GeneralRe: Is this do able in VC++? Or is there a better way. Pin
FISH78616-Jun-09 12:58
FISH78616-Jun-09 12:58 
GeneralRe: Is this do able in VC++? Or is there a better way. Pin
Garth J Lancaster16-Jun-09 13:05
professionalGarth J Lancaster16-Jun-09 13:05 

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.