Description:
Microsoft Visual C newsgroup.
|
|
|
MFC Message Handling
|
| |
In MFC Generally when we Override Message Handling function by a class then we call base class function at the end like, return CPropertySheet::PreTranslateMe ssage(pMsg); how this is valid?? If PreTranslateMessage() is not static function then how can we call it by this way (i.e. ClassName::FunctionName)??... more »
|
|
Unicode Character not displaying on Dialog Screen
|
| |
Hi All, I'm tryingt to display a degree symbol character 176 - I've converted my app to unicode and can get the TCHAR into a CStringW - I can see the character in the Variable when I debug it. But when I go to display it on the screen, I get a garbage character. (A square or something ). I'm using an Arial Font.. Here is some code: ( the Arial font works... more »
|
|
Linker Errors
|
| |
Hi Guys, After I changed my WINVER, _WIN32_WINNT, and _WIN32_WINDOWS all to 0x501, in order to get access to PrintWindow, I get a bunch of linker errors that have stummped me. It says it can't find _xGetMonitorInfo, _xMonitorFromWindow, and _xGetSystemMetrics. I suspect that I have to update my SDK, here is the question, if I'm using... more »
|
|
counterpart for MAKEINTRESOURCE
|
| |
can we able to identify the resource id from the handle of the resource, something like opposite to getting the resource id from the resource name using MAKEINTRESOURCE, is there any macro , or any code snippet to resolve this.. thanks
|
|
Scrollbar thumbtrack doesn't scroll all the way
|
| |
Part of me feels rather dumb for asking this, but everything seems to work smoothly except for one scrolling action. I have a dialog with two embedded child dialogs within it. The top dialog has a scrolling interface. The parent dialog is roughly 640 * 540 pixels, with the top child dialog being 640*388. The ACTUAL size... more »
|
|
How can I subclass a control on a Formview
|
| |
Hello everyone, I have a simple coloured button control I derived from a CButton. When I drag a Button control from the toolbox onto my Formview, I do not get an opportunity to override the OnCreate message. I added an OnPreSubclassWindow, but it does not appear to be called either. I want to save the User selected colours in the registry. Then when the... more »
|
|
DDX/DDV and DoDataExchange for PropertySheets
|
| |
Hello everyone!!!! I have a nested propertysheets (on some propertypages I have another propertysheet with pages itself). I have also a XML file of general settings that I read in OnInitDialog()'s form event. Some pages of this nested propertysheets have settings that depends from other pages and of general settings from xml file. Like if I... more »
|
|
LPCWSTR Variable Corrupted
|
| |
Hello, I posted this question elsewhere. Im hoing I will get more feedback here. I have a MFC class derived from CStdioFile declared as follows // Datafile.h class CDataFile : public CStdioFile { public: CDataFile(void); ~CDataFile(void); int OpenFile(LPCWSTR FileName); ...After my OpenFile function is called the FileName variable is being... more »
|
|
IMILBitmapEffectRenderContext
|
| |
Hello, How to get the IMILBitmapEffectRenderContext interface pointer ? It seems impossible from existing interfaces or methods. Thanks.
|
|
|