Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to give application to proccess all things Pin
Mayank Goyal5-Jul-04 1:18
Mayank Goyal5-Jul-04 1:18 
GeneralRe: How to give application to proccess all things Pin
Anonymous5-Jul-04 1:29
Anonymous5-Jul-04 1:29 
GeneralRe: How to give application to proccess all things Pin
Stlan5-Jul-04 1:40
Stlan5-Jul-04 1:40 
AnswerRe: How to give application to proccess all things Pin
Adi Narayana5-Jul-04 2:58
Adi Narayana5-Jul-04 2:58 
GeneralUsing Help with MFC Pin
sweep1235-Jul-04 0:28
sweep1235-Jul-04 0:28 
GeneralRe: Using Help with MFC Pin
Antony M Kancidrowski5-Jul-04 2:11
Antony M Kancidrowski5-Jul-04 2:11 
GeneralRe: Using Help with MFC Pin
Roger Allen5-Jul-04 3:50
Roger Allen5-Jul-04 3:50 
Generalproblem while adding strings into an ownerdraw listbox created at runtime Pin
Abul Fasal .N5-Jul-04 0:09
sussAbul Fasal .N5-Jul-04 0:09 
I have created an ownerdraw listbox with the following Style.

pco_VerifyListBox->Create(LBS_HASSTRINGS|WS_CHILD|WS_BORDER|LBS_MULTIPLESEL
|LBS_EXTENDEDSEL|LBS_STANDARD,rect,GetParent(),GetDlgCtrlID()+ 4000);

it shows Error after the following line.

pco_VerifyListBox->SetVerifyList(pco_VerifyList);

SetverifyList Function has the following Defn..
----------------------------------------------------
void ct_VerifyListBox::SetVerifyList(
ct_VerifyList * pco_list)
{
assert(pco_list);

pco_VerifyList = pco_list;

ResetContent();
for (unsigned u = pco_VerifyList->FirstCond(); u; u = pco_VerifyList->NextCond(u))
{
AddString(pco_VerifyList->GetData(u).co_Item.GetCharPtr());
}
SetCurSel(0);
----------------------------------------------------

it gives Debug assertin in the AddString line..
It is from the MeasureItem funtion of the class CListBox.

also the program crashes...
what will be the solution for this problem?
GeneralRe: problem while adding strings into an ownerdraw listbox created at runtime Pin
AbulFasal5-Jul-04 0:50
AbulFasal5-Jul-04 0:50 
GeneralODBC AND C++ Pin
SuzannaS4-Jul-04 23:37
SuzannaS4-Jul-04 23:37 
GeneralRe: ODBC AND C++ Pin
Stlan5-Jul-04 1:45
Stlan5-Jul-04 1:45 
GeneralRe: ODBC AND C++ [edited] Pin
Antony M Kancidrowski5-Jul-04 2:13
Antony M Kancidrowski5-Jul-04 2:13 
GeneralRe: ODBC AND C++ Pin
Michael P Butler5-Jul-04 10:19
Michael P Butler5-Jul-04 10:19 
GeneralListControl Problem Pin
Pazzuzu4-Jul-04 23:09
Pazzuzu4-Jul-04 23:09 
GeneralManage SwapFile Pin
Mike Melnikov4-Jul-04 23:06
Mike Melnikov4-Jul-04 23:06 
Generalimage content based retrieval Pin
amirait4-Jul-04 22:56
amirait4-Jul-04 22:56 
GeneralGenerate report using C++ (MFC) Pin
xiAoYJia4-Jul-04 22:36
xiAoYJia4-Jul-04 22:36 
GeneralRe: Generate report using C++ (MFC) Pin
Antony M Kancidrowski4-Jul-04 23:31
Antony M Kancidrowski4-Jul-04 23:31 
GeneralRe: Generate report using C++ (MFC) Pin
Jose Cezar S. Ynion5-Jul-04 17:48
Jose Cezar S. Ynion5-Jul-04 17:48 
GeneralRe: Generate report using C++ (MFC) Pin
xiAoYJia5-Jul-04 18:17
xiAoYJia5-Jul-04 18:17 
GeneralRe: Generate report using C++ (MFC) Pin
Jose Cezar S. Ynion5-Jul-04 19:41
Jose Cezar S. Ynion5-Jul-04 19:41 
GeneralCreateFont() Pin
Poorniselva4-Jul-04 21:38
Poorniselva4-Jul-04 21:38 
GeneralRe: CreateFont() Pin
Antti Keskinen4-Jul-04 22:44
Antti Keskinen4-Jul-04 22:44 
GeneralRe: CreateFont() Pin
Sumit Kapoor4-Jul-04 22:55
Sumit Kapoor4-Jul-04 22:55 
GeneralRe: CreateFont() Pin
Poorniselva4-Jul-04 23:58
Poorniselva4-Jul-04 23:58 

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.