First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
I love MFC!
MFC is my best friend. __________ Information from ESET Smart Security, version of virus signature database 5207 (20100618) __________ The message was checked by ESET Smart Security. http://www.eset.com ... 18 Jun 2010 13:34
CWnd::FromHandle (Temporary/Permanent for life of Dlg)
Hi All, I have a MFC DLL that takes a HWND from applications. The Dialog's wizard generated constructor is boilerplate. But I also needed one for HWNDs CMyDialog: public CDialog { // MFC callers explicit CMyDialog(CWnd* pParent = NULL); // Win32 callers explicit CMyDialog(HWND hOwner = NUL... 19 Jun 2010 06:57
MSFlexGrid Question
Hello everyone, I am interested in putting up a grid for testing purpose (VS2008 SP1), I first make the control available in the toolbox, Drag a flexgrid, then add a variable thru the class wizard. Let's say the variable is called m_Grid In my Dlg code, I try to do the following thing m_Grid.Clear(); // which ... 18 Jun 2010 16:52
ON_UPDATE_COMMAND_UI_RANGE problem
Hi, I have a problem with ON_UPDATE_COMMAND_UI_RANGE in a CScrollView class. My menu looks like this: M1 - M2 - M3 | D1----Sub1 | |-Sub2 D2 |-Sub3 |-Sub4 So D1 has the "Pop-up" property. It looks like the update event for Sub1-Sub4 is not fired. When I have ON_UPDATE... 21 Jun 2010 11:21
How to detect system language ?
Hi How can I detect Windows system language or codepage by Win32 or MFC ? Is there some registry key to query ? Thank you . ... 20 Jun 2010 05:55
CMFCToolBar - lightbulb illuminates above head!
Sudden illumination (bright enough to start a new thread): Could it be that when the AppWizard writes: === const int iMaxUserToolbars = 10; const UINT uiFirstUserToolBarId = AFX_IDW_CONTROLBAR_FIRST + 40; const UINT uiLastUserToolBarId = uiFirstUserToolBarId + iMaxUserToolbars-1; .... InitUserToolbars(NULL... 17 Jun 2010 19:01
CMFCToolBar woes
Are there any examples showing how to add a second (etc) toolbar to a (tabbed) MDI program created with the AppWizard? The documentation I've found of CMFCToolBar is a bit sparse. An example creating multiple CMFCToolBars would be very helpful, but I haven't found much in the new revamped help system :-( ... 17 Jun 2010 12:19
TxSendMessage in richedit & EM_CHARFROMPOS
What is "TxSendMessage"? I never saw this API before. Could it be that your point (whose source is unknown and unknowable in this code snippet) is in Screen coordinates whereas for the purposes of the edit control it should be in client coordinates? Since you don't even HINT at how this value was derived, there ... 18 Jun 2010 20:11
How to start with MFC
Greetings, we were given short note for doing a project on college (two days ago, due is on Monday), that is related to OOP, or to be exact, MFC library. Unfortunately, we were given literally no documentation, so it's free for all. Basically, I have to create application with at least two forms or dialog... 18 Jun 2010 10:14
TRUE vs true or FALSE vs false
What exactly is the difference. This has always bothered me that this is the case. I've noticed that you cannot substitute one for the other. I'm guessing TRUE was the original way of doing things before "true" came along? The same case can be made with FALSE vs false. Thanks ... 19 Jun 2010 05:53
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17