Click here to Skip to main content
15,895,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Questionbitwise operations Pin
alex.barylski3-Dec-05 13:17
alex.barylski3-Dec-05 13:17 
AnswerRe: bitwise operations Pin
David Crow3-Dec-05 15:11
David Crow3-Dec-05 15:11 
GeneralRe: bitwise operations Pin
alex.barylski3-Dec-05 15:44
alex.barylski3-Dec-05 15:44 
GeneralRe: bitwise operations Pin
kevincwong3-Dec-05 17:39
kevincwong3-Dec-05 17:39 
GeneralRe: bitwise operations Pin
markkuk3-Dec-05 22:27
markkuk3-Dec-05 22:27 
GeneralRe: bitwise operations Pin
Jörgen Sigvardsson4-Dec-05 2:02
Jörgen Sigvardsson4-Dec-05 2:02 
GeneralRe: bitwise operations Pin
David Crow5-Dec-05 2:57
David Crow5-Dec-05 2:57 
QuestionI need help with printing text from a view. Pin
Mark F.3-Dec-05 12:15
Mark F.3-Dec-05 12:15 
AnswerRe: I need help with printing text from a view. Pin
Gary R. Wheeler4-Dec-05 2:48
Gary R. Wheeler4-Dec-05 2:48 
QuestionTypecasting Structs to One Another Pin
Steve L.3-Dec-05 10:50
Steve L.3-Dec-05 10:50 
AnswerRe: Typecasting Structs to One Another Pin
James Brown3-Dec-05 12:21
James Brown3-Dec-05 12:21 
QuestionUsing CFormView in SDI app Pin
RoyceF3-Dec-05 7:09
RoyceF3-Dec-05 7:09 
AnswerRe: Using CFormView in SDI app Pin
Jörgen Sigvardsson3-Dec-05 10:10
Jörgen Sigvardsson3-Dec-05 10:10 
GeneralRe: Using CFormView in SDI app Pin
RoyceF3-Dec-05 12:36
RoyceF3-Dec-05 12:36 
GeneralRe: Using CFormView in SDI app Pin
Jörgen Sigvardsson3-Dec-05 14:20
Jörgen Sigvardsson3-Dec-05 14:20 

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.