Click here to Skip to main content
16,012,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Place to save Wnd position Pin
bob1697216-Mar-06 15:41
bob1697216-Mar-06 15:41 
GeneralRe: Place to save Wnd position Pin
Richard Andrew x6416-Mar-06 16:07
professionalRichard Andrew x6416-Mar-06 16:07 
QuestionTurn Off monitor?????? Pin
AhmedOsamaMoh16-Mar-06 13:36
AhmedOsamaMoh16-Mar-06 13:36 
AnswerRe: Turn Off monitor?????? Pin
Chris Gao16-Mar-06 15:29
Chris Gao16-Mar-06 15:29 
AnswerRe: Turn Off monitor?????? Pin
Xing Chen16-Mar-06 16:01
Xing Chen16-Mar-06 16:01 
QuestionHow to generate a new icon at runtime for MFC tree control Pin
lastgen16-Mar-06 13:15
lastgen16-Mar-06 13:15 
AnswerRe: How to generate a new icon at runtime for MFC tree control Pin
Stephen Hewitt16-Mar-06 13:30
Stephen Hewitt16-Mar-06 13:30 
AnswerRe: How to generate a new icon at runtime for MFC tree control Pin
Hamid_RT16-Mar-06 17:56
Hamid_RT16-Mar-06 17:56 
CImageList *m_ImageTree;
TV_INSERTSTRUCT TreeItem;


HTREEITEM hTreeItem;
CBitmap bit;

m_ImageTree = new CImageList();
m_ImageTree->Create(15,15, ILC_COLORDDB,0,0);

TreeItem.hParent = TVI_ROOT;
TreeItem.hInsertAfter = TVI_LAST;
TreeItem.item.mask = TVIF_TEXT | TVIF_PARAM|TVIF_IMAGE|TVIF_SELECTEDIMAGE;

TreeItem.item.pszText = _T("TEST");
TreeItem.item.lParam = 0;
TreeItem.item.iImage=0;
TreeItem.item.iSelectedImage=0;
hTreeItem = m_Tree1.InsertItem(&TreeItem);

bit.LoadBitmap(IDB_BITMAP1);
m_ImageTree->Add(&bit,RGB(255,0,255));
m_Tree1.SetImageList(m_ImageTree, LVSIL_NORMAL);

AnswerRe: How to generate a new icon at runtime for MFC tree control Pin
Hamid_RT16-Mar-06 19:38
Hamid_RT16-Mar-06 19:38 
Questionexport function in DLL Pin
yongwpi16-Mar-06 11:39
yongwpi16-Mar-06 11:39 
AnswerRe: export function in DLL Pin
Richard Andrew x6416-Mar-06 14:24
professionalRichard Andrew x6416-Mar-06 14:24 
GeneralRe: export function in DLL Pin
yongwpi16-Mar-06 14:27
yongwpi16-Mar-06 14:27 
QuestionMultiple Displays problem- how to get the absolute coordinates Pin
Checker200316-Mar-06 9:59
Checker200316-Mar-06 9:59 
AnswerRe: Multiple Displays problem- how to get the absolute coordinates Pin
Michael Dunn16-Mar-06 11:02
sitebuilderMichael Dunn16-Mar-06 11:02 
GeneralRe: Multiple Displays problem- how to get the absolute coordinates Pin
Checker200316-Mar-06 20:36
Checker200316-Mar-06 20:36 
AnswerAnother thing to watch for Pin
normanS16-Mar-06 18:23
normanS16-Mar-06 18:23 
GeneralRe: Another thing to watch for Pin
Checker200316-Mar-06 21:33
Checker200316-Mar-06 21:33 
GeneralRe: Another thing to watch for Pin
normanS16-Mar-06 22:51
normanS16-Mar-06 22:51 
QuestionEnable Profiling. Pin
jerry1211a16-Mar-06 9:34
jerry1211a16-Mar-06 9:34 
QuestionVisual C++ 6.0 still alive Pin
thierrypp16-Mar-06 9:32
thierrypp16-Mar-06 9:32 
AnswerRe: Visual C++ 6.0 still alive Pin
John R. Shaw16-Mar-06 13:45
John R. Shaw16-Mar-06 13:45 
QuestionProgram crashes Pin
Eikthrynir16-Mar-06 8:21
Eikthrynir16-Mar-06 8:21 
AnswerRe: Program crashes Pin
John R. Shaw16-Mar-06 14:22
John R. Shaw16-Mar-06 14:22 
GeneralRe: Program crashes Pin
Eikthrynir16-Mar-06 23:04
Eikthrynir16-Mar-06 23:04 
GeneralRe: Program crashes Pin
John R. Shaw19-Mar-06 10:22
John R. Shaw19-Mar-06 10:22 

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.