Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual C++ 1.52 screws up! Pin
Lord Kixdemp3-Dec-05 15:48
Lord Kixdemp3-Dec-05 15:48 
AnswerRe: Visual C++ 1.52 screws up! Pin
Gary R. Wheeler4-Dec-05 2:41
Gary R. Wheeler4-Dec-05 2:41 
GeneralRe: Visual C++ 1.52 screws up! Pin
Jörgen Sigvardsson4-Dec-05 3:01
Jörgen Sigvardsson4-Dec-05 3:01 
AnswerRe: Visual C++ 1.52 screws up! Pin
toxcct4-Dec-05 7:04
toxcct4-Dec-05 7:04 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp4-Dec-05 8:01
Lord Kixdemp4-Dec-05 8:01 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld4-Dec-05 8:07
Bob Stanneveld4-Dec-05 8:07 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp4-Dec-05 11:26
Lord Kixdemp4-Dec-05 11:26 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld5-Dec-05 1:05
Bob Stanneveld5-Dec-05 1:05 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp5-Dec-05 9:57
Lord Kixdemp5-Dec-05 9:57 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld5-Dec-05 23:40
Bob Stanneveld5-Dec-05 23:40 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp6-Dec-05 10:57
Lord Kixdemp6-Dec-05 10:57 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld6-Dec-05 22:25
Bob Stanneveld6-Dec-05 22:25 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp10-Dec-05 9:27
Lord Kixdemp10-Dec-05 9:27 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld11-Dec-05 4:34
Bob Stanneveld11-Dec-05 4:34 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp14-Dec-05 12:21
Lord Kixdemp14-Dec-05 12:21 
Generalbutton catch double click. Pin
LeeeNN3-Dec-05 15:37
LeeeNN3-Dec-05 15:37 
GeneralRe: button catch double click. Pin
Gary R. Wheeler4-Dec-05 2:07
Gary R. Wheeler4-Dec-05 2:07 
GeneralRe: button catch double click. Pin
Branislav4-Dec-05 21:07
Branislav4-Dec-05 21:07 
QuestionExtremely basic ? about VS 2005. Pin
David Fleming3-Dec-05 13:49
David Fleming3-Dec-05 13:49 
AnswerRe: Extremely basic ? about VS 2005. Pin
S. Senthil Kumar4-Dec-05 2:40
S. Senthil Kumar4-Dec-05 2:40 
GeneralRe: Extremely basic ? about VS 2005. Pin
vikas amin4-Dec-05 20:38
vikas amin4-Dec-05 20:38 
GeneralRe: Extremely basic ? about VS 2005. Pin
Lord Kixdemp5-Dec-05 12:06
Lord Kixdemp5-Dec-05 12:06 
QuestionHow to display a item's image without backgroud color in a CTreeCtrl in MFC? Pin
zhonglin.liang3-Dec-05 13:42
zhonglin.liang3-Dec-05 13:42 
There is an icon ,and I want to set the icon as a item's image without backgroud color in a CTreeCtrl in MFC.
How do I do?
attaching my code:
hIcon=(HICON)LoadImage(NULL,GetIconFromFile ("CLSDFOLD"),IMAGE_ICON,16,16,LR_LOADFROMFILE|LR_DEFAULTSIZE);
iconIndex=m_DeviceImage.Add (hIcon);
HTREEITEM hti1=m_wndDeviceTree.InsertItem
(_T("CATEGORY"),iconIndex,iconIndex,hti);
DestroyIcon(hIcon);

The icon is able to display,but it is black backgroud color.why??
help me
would you write some code?

AnswerRe: How to display a item's image without backgroud color in a CTreeCtrl in MFC? Pin
Gavin Taylor3-Dec-05 15:13
professionalGavin Taylor3-Dec-05 15:13 
QuestionWindows Media Services Pin
kotiramkoteswararao3-Dec-05 13:23
kotiramkoteswararao3-Dec-05 13:23 

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.