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

C / C++ / MFC

 
GeneralRe: Restricting access to DB Pin
Alex6-Sep-00 21:19
Alex6-Sep-00 21:19 
GeneralBOOL, TRUE, FALSE vs. bool, true, false Pin
Marty6-Sep-00 10:14
Marty6-Sep-00 10:14 
GeneralRe: BOOL, TRUE, FALSE vs. bool, true, false Pin
Michael Dunn6-Sep-00 16:06
sitebuilderMichael Dunn6-Sep-00 16:06 
GeneralRe: BOOL, TRUE, FALSE vs. bool, true, false Pin
Uwe Keim6-Sep-00 22:19
sitebuilderUwe Keim6-Sep-00 22:19 
GeneralRe: BOOL, TRUE, FALSE vs. bool, true, false Pin
Michael Dunn6-Sep-00 22:24
sitebuilderMichael Dunn6-Sep-00 22:24 
GeneralRe: BOOL, TRUE, FALSE vs. bool, true, false Pin
Sam Hobbs8-Sep-00 9:24
Sam Hobbs8-Sep-00 9:24 
GeneralRe: BOOL, TRUE, FALSE vs. bool, true, false Pin
arf7-Sep-00 5:21
arf7-Sep-00 5:21 
QuestionChris's grid in an extension dll? Pin
Nick Hodapp6-Sep-00 8:59
sitebuilderNick Hodapp6-Sep-00 8:59 
I'm having trouble using Chris's grid in a MFC extension dll. The dll is loaded into an app that isn't mine, and is supposed display a dialog when a method is invoked.

The symptoms are that if I use a custom control resource on my dialog (class=MFCGridCtrl) the dialog fails creation inside Create(). Dunno why, I just don't get a HWND. GetLastError() returns NULL. I can dynamically create the grid after the dialog is created, but then the grid never paints itself. Yes, it is WS_VISIBLE, WS_CHILD, has size, etc. Spy++ "sees" it on the dialog, but I never see it. If I float over a spot where a cell would exist, I can see a tooltip flicker in the upper left corner of the screen. The same code works in my test app, which is not using the extension dll.

I don't have any trouble with the "regular" controls on the dialog, like a CListCtrl.

My setup is pretty funky and I admit up front that the problem may not be the extension dll... One problem is that I am having to link to a non-debug MFC42.dll because the calling app is linked this way. (Although my dll does include debug info.)

Any ideas please?

AnswerRe: Chris's grid in an extension dll? Pin
Paolo Messina6-Sep-00 9:30
professionalPaolo Messina6-Sep-00 9:30 
GeneralRe: Chris's grid in an extension dll? Pin
Nick Hodapp6-Sep-00 9:48
sitebuilderNick Hodapp6-Sep-00 9:48 
GeneralRe: Chris's grid in an extension dll? Pin
Paolo Messina6-Sep-00 11:00
professionalPaolo Messina6-Sep-00 11:00 
GeneralCWinApp::OnFileNew Pin
nisse6-Sep-00 4:27
nisse6-Sep-00 4:27 
GeneralRe: CWinApp::OnFileNew Pin
Sam Hobbs8-Sep-00 9:29
Sam Hobbs8-Sep-00 9:29 
GeneralRe: CWinApp::OnFileNew Pin
nisse11-Sep-00 5:08
nisse11-Sep-00 5:08 
GeneralMAC Address Pin
Roger6-Sep-00 4:23
Roger6-Sep-00 4:23 
GeneralRe: MAC Address Pin
Paolo Messina6-Sep-00 9:51
professionalPaolo Messina6-Sep-00 9:51 
GeneralAdding Handlers for User-Defined Messages Pin
#realJSOP6-Sep-00 1:27
professional#realJSOP6-Sep-00 1:27 
Generalchange the windows opening screen Pin
thrivikram6-Sep-00 1:24
thrivikram6-Sep-00 1:24 
GeneralC++ Exception Pin
koteswara5-Sep-00 20:46
koteswara5-Sep-00 20:46 
GeneralRe: C++ Exception Pin
Pete Bassett5-Sep-00 22:50
Pete Bassett5-Sep-00 22:50 
GeneralRe: C++ Exception Pin
Tim Deveaux6-Sep-00 6:23
Tim Deveaux6-Sep-00 6:23 
GeneralRe: C++ Exception Pin
Pete Bassett6-Sep-00 6:33
Pete Bassett6-Sep-00 6:33 
GeneralRe: C++ Exception Pin
Chris Losinger7-Sep-00 11:29
professionalChris Losinger7-Sep-00 11:29 
GeneralRe: C++ Exception Pin
Remus Lazar5-Sep-00 22:51
Remus Lazar5-Sep-00 22:51 
GeneralProblem in the release exe Pin
N.S.5-Sep-00 20:27
N.S.5-Sep-00 20:27 

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.