Click here to Skip to main content
15,348,570 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: 'bad file number' error Pin
Cedric Moonen12-Feb-06 23:04
MemberCedric Moonen12-Feb-06 23:04 
QuestionRe: 'bad file number' error Pin
kittymew13-Feb-06 0:01
Memberkittymew13-Feb-06 0:01 
AnswerRe: 'bad file number' error Pin
Cedric Moonen13-Feb-06 1:02
MemberCedric Moonen13-Feb-06 1:02 
GeneralRe: 'bad file number' error Pin
kittymew13-Feb-06 1:19
Memberkittymew13-Feb-06 1:19 
QuestionCommon File Dialog Pin
Anil_vvs12-Feb-06 21:46
MemberAnil_vvs12-Feb-06 21:46 
AnswerRe: Common File Dialog Pin
PJ Arends13-Feb-06 6:22
professionalPJ Arends13-Feb-06 6:22 
QuestionOnSelchangedTree On MainFrame Pin
HMNham12-Feb-06 21:44
MemberHMNham12-Feb-06 21:44 
QuestionOnSelchangedTree On MainFrame Pin
HMNham12-Feb-06 21:43
MemberHMNham12-Feb-06 21:43 
in my project, i splite Window into view Ctreeview and CView:
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
if (!m_wndSplitter.CreateStatic(this, 1, 2))
return FALSE;
CRect rect;
GetClientRect(&rect);
int mWidth=rect.Width();
if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CTreeView), CSize(mWidth/4, 0), NULL))
{
m_wndSplitter.DestroyWindow();
return FALSE;
}
if (!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CPropertyView), CSize(0, 0), NULL))
{
m_wndSplitter.DestroyWindow();
return FALSE;
}
return TRUE;
}

but i can't use functions of the tree Example:

void CMainFrame::OnTreeSelChange(NMHDR *pNMHDR, LRESULT* pResult)
{
LPNMTREEVIEW pTV = (LPNMTREEVIEW)pNMHDR;
AfxMessageBox(L"OnSelchangedTree ");
*pResult=0;
}

please! help me.

AnswerRe: OnSelchangedTree On MainFrame Pin
_anil_12-Feb-06 23:16
Member_anil_12-Feb-06 23:16 
QuestionError SHGetFolderPath Pin
sunit512-Feb-06 20:50
Membersunit512-Feb-06 20:50 
AnswerRe: Error SHGetFolderPath Pin
Owner drawn12-Feb-06 21:06
MemberOwner drawn12-Feb-06 21:06 
GeneralRe: Error SHGetFolderPath Pin
sunit512-Feb-06 21:53
Membersunit512-Feb-06 21:53 
GeneralRe: Error SHGetFolderPath Pin
Owner drawn12-Feb-06 21:57
MemberOwner drawn12-Feb-06 21:57 
GeneralRe: Error SHGetFolderPath Pin
sunit512-Feb-06 22:07
Membersunit512-Feb-06 22:07 
GeneralRe: Error SHGetFolderPath Pin
Owner drawn12-Feb-06 22:22
MemberOwner drawn12-Feb-06 22:22 
GeneralRe: Error SHGetFolderPath Pin
sunit512-Feb-06 22:33
Membersunit512-Feb-06 22:33 
AnswerRe: Error SHGetFolderPath Pin
Michael Dunn13-Feb-06 7:37
sitebuilderMichael Dunn13-Feb-06 7:37 
AnswerRe: Error SHGetFolderPath Pin
ThatsAlok14-Feb-06 19:36
MemberThatsAlok14-Feb-06 19:36 
QuestionJPEG size Pin
Ansh112-Feb-06 20:21
MemberAnsh112-Feb-06 20:21 
AnswerRe: JPEG size Pin
NoxMan12-Feb-06 21:32
MemberNoxMan12-Feb-06 21:32 
GeneralRe: JPEG size Pin
Ansh112-Feb-06 21:49
MemberAnsh112-Feb-06 21:49 
QuestionHow to know the ID of the current mouse cursor? Pin
Rashid.Mahmood12-Feb-06 19:54
MemberRashid.Mahmood12-Feb-06 19:54 
AnswerRe: How to know the ID of the current mouse cursor? Pin
John R. Shaw12-Feb-06 21:56
MemberJohn R. Shaw12-Feb-06 21:56 
QuestionDrawing over bitmap and saving Pin
Tara1412-Feb-06 19:54
MemberTara1412-Feb-06 19:54 
AnswerRe: Drawing over bitmap and saving Pin
_anil_12-Feb-06 20:37
Member_anil_12-Feb-06 20:37 

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.