Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan't find clipboard is busy error Pin
Harrier30-Mar-06 9:46
Harrier30-Mar-06 9:46 
QuestionRe: Can't find clipboard is busy error Pin
David Crow30-Mar-06 9:51
David Crow30-Mar-06 9:51 
AnswerRe: Can't find clipboard is busy error Pin
Harrier30-Mar-06 10:06
Harrier30-Mar-06 10:06 
QuestionRe: Can't find clipboard is busy error Pin
David Crow30-Mar-06 10:32
David Crow30-Mar-06 10:32 
AnswerRe: Can't find clipboard is busy error Pin
Harrier30-Mar-06 10:44
Harrier30-Mar-06 10:44 
QuestionOnInitialUpdate() never gets entered Pin
ns30-Mar-06 9:20
ns30-Mar-06 9:20 
QuestionRe: OnInitialUpdate() never gets entered Pin
David Crow30-Mar-06 9:53
David Crow30-Mar-06 9:53 
AnswerRe: OnInitialUpdate() never gets entered Pin
ns30-Mar-06 10:05
ns30-Mar-06 10:05 
Thanks, David.
It needs to be modeless. Now that I made it OnINitDialog, it does go into the function but sidesteps my if safeHWnd block for the list control on that dialog:
if(NULL != m_listTgtInfo.GetSafeHwnd())
{
    (void)m_listTgtInfo.SetExtendedStyle( LVS_EX_FULLROWSELECT );
    m_listTgtInfo.InsertColumn(0,"Keywords",LVCFMT_LEFT,800);
    //m_keysListBox.SetColumnWidth(0, LVSCW_AUTOSIZE_USEHEADER);

    m_listTgtInfo.SetExtendedStyle(LVS_EX_CHECKBOXES);
    m_listTgtInfo.InsertColumn(1,"Options",LVCFMT_LEFT,800);
}


I thought my CListCtrl would have been made by the time the code gets to the OnINitDialog. So if I cant set the columns of the listbox in this function, where else can I set them?
thanks,
sb
GeneralRe: OnInitialUpdate() never gets entered Pin
David Crow30-Mar-06 10:31
David Crow30-Mar-06 10:31 
GeneralRe: OnInitialUpdate() never gets entered Pin
ns30-Mar-06 10:40
ns30-Mar-06 10:40 
QuestionSerial port access Pin
LCI30-Mar-06 8:53
LCI30-Mar-06 8:53 
QuestionRe: Serial port access Pin
Roger Stoltz30-Mar-06 10:15
Roger Stoltz30-Mar-06 10:15 
AnswerRe: Serial port access Pin
LCI30-Mar-06 10:35
LCI30-Mar-06 10:35 
AnswerRe: Serial port access Pin
Roger Stoltz30-Mar-06 11:26
Roger Stoltz30-Mar-06 11:26 
GeneralRe: Serial port access Pin
LCI30-Mar-06 11:53
LCI30-Mar-06 11:53 
AnswerRe: Serial port access Pin
Roger Stoltz30-Mar-06 20:34
Roger Stoltz30-Mar-06 20:34 
AnswerRe: Serial port access Pin
Trollslayer30-Mar-06 12:09
mentorTrollslayer30-Mar-06 12:09 
Questionhow does a CDialog derived window notify the parent it was closed? Pin
ns30-Mar-06 8:50
ns30-Mar-06 8:50 
AnswerRe: how does a CDialog derived window notify the parent it was closed? Pin
Rage30-Mar-06 9:07
professionalRage30-Mar-06 9:07 
QuestionRe: how does a CDialog derived window notify the parent it was closed? Pin
David Crow30-Mar-06 9:33
David Crow30-Mar-06 9:33 
AnswerRe: how does a CDialog derived window notify the parent it was closed? Pin
ns30-Mar-06 9:39
ns30-Mar-06 9:39 
QuestionRe: how does a CDialog derived window notify the parent it was closed? Pin
David Crow30-Mar-06 9:39
David Crow30-Mar-06 9:39 
AnswerRe: how does a CDialog derived window notify the parent it was closed? Pin
ns30-Mar-06 10:12
ns30-Mar-06 10:12 
GeneralRe: how does a CDialog derived window notify the parent it was closed? Pin
David Crow30-Mar-06 10:27
David Crow30-Mar-06 10:27 
GeneralRe: how does a CDialog derived window notify the parent it was closed? Pin
ns30-Mar-06 10:41
ns30-Mar-06 10:41 

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.