Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 7:49
geo_m1-Apr-03 7:49 
GeneralRe: calling a DLL in VC++ Pin
Anonymous1-Apr-03 8:05
Anonymous1-Apr-03 8:05 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 9:19
geo_m1-Apr-03 9:19 
QuestionEnumerating SCSI devices? Pin
dandy721-Apr-03 4:51
dandy721-Apr-03 4:51 
AnswerRe: Enumerating SCSI devices? Pin
FoxholeWilly28-Feb-07 8:56
FoxholeWilly28-Feb-07 8:56 
GeneralCombo Box Owner Drawn Pin
Anthony98871-Apr-03 4:43
Anthony98871-Apr-03 4:43 
GeneralRe: Combo Box Owner Drawn Pin
Dave Bryant1-Apr-03 9:15
Dave Bryant1-Apr-03 9:15 
GeneralRe: Combo Box Owner Drawn Pin
Anthony98872-Apr-03 3:56
Anthony98872-Apr-03 3:56 
The CompareItem Function seems to work fine. I can't get the DrawItem to display the sorted data.

void CCBX::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
{
// TODO: Add your code to draw the specified item
ASSERT(lpDrawItemStruct->CtlType == ODT_COMBOBOX);
LPSTR lpszText = (LPSTR)lpDrawItemStruct->itemData;
CDC dc;

dc.Attach(lpDrawItemStruct->hDC);
dc.DrawText(lpszText, strlen(lpszText),
&lpDrawItemStruct->rcItem,DT_SINGLELINE);
dc.Detach();
}

Thanks
GeneralStill trying to SetFocus() Pin
ns1-Apr-03 4:08
ns1-Apr-03 4:08 
QuestionHow to Disable F1 pass to CXXApp in pop up dialog? Pin
cadinfo1-Apr-03 3:51
cadinfo1-Apr-03 3:51 
GeneralAnother Design question/comment Pin
Maximilien1-Apr-03 2:52
Maximilien1-Apr-03 2:52 
GeneralRe: Another Design question/comment Pin
Dave Bryant1-Apr-03 9:13
Dave Bryant1-Apr-03 9:13 
GeneralRe: Another Design question/comment Pin
Maximilien1-Apr-03 9:39
Maximilien1-Apr-03 9:39 
QuestionAdd more functions for ListBox control? Pin
chen1-Apr-03 2:51
chen1-Apr-03 2:51 
AnswerRe: Add more functions for ListBox control? Pin
Dave Bryant1-Apr-03 9:07
Dave Bryant1-Apr-03 9:07 
QuestionHow to prevent IE from caching files Pin
sanskypotov1-Apr-03 2:37
sanskypotov1-Apr-03 2:37 
GeneralCollection Classes Needed Pin
#realJSOP1-Apr-03 2:35
professional#realJSOP1-Apr-03 2:35 
GeneralRe: Collection Classes Needed Pin
jhwurmbach1-Apr-03 2:55
jhwurmbach1-Apr-03 2:55 
GeneralRe: Collection Classes Needed Pin
#realJSOP1-Apr-03 3:06
professional#realJSOP1-Apr-03 3:06 
GeneralRe: Collection Classes Needed Pin
#realJSOP1-Apr-03 4:10
professional#realJSOP1-Apr-03 4:10 
GeneralRe: Collection Classes Needed Pin
User 98851-Apr-03 6:53
User 98851-Apr-03 6:53 
GeneralRe: Collection Classes Needed Pin
#realJSOP1-Apr-03 9:03
professional#realJSOP1-Apr-03 9:03 
GeneralRe: Collection Classes Needed Pin
Michael Dunn1-Apr-03 9:32
sitebuilderMichael Dunn1-Apr-03 9:32 
QuestionHow to make a fullscreen window in SDI or Dialogbased application Pin
u990105@giki.edu.pk1-Apr-03 2:28
u990105@giki.edu.pk1-Apr-03 2:28 
AnswerRe: How to make a fullscreen window in SDI or Dialogbased application Pin
Joan M1-Apr-03 2:35
professionalJoan M1-Apr-03 2:35 

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.