Description:
Microsoft Visual C newsgroup.
|
|
|
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.
|
|
RegOpenKeyEx failure
|
| |
Hi Experts: I'm writing a console app which accesses and changes some values under Windows registry: HKLM\System\CurrentControlSet\ Enum and I'm the admin on the machine (XP). I have done the following steps but failed at step #4 with access denied error. 1. Get the process handle with PROCESS_ALL_ACCESS; success.... more »
|
|
Dialog receiving WM_COMMAND over and over again.
|
| |
I've got a dialog that under certain circumstances (when a radio button is pressed), needs to create another thread and wait for it to finish. While it is waiting, it processes the windows message loop (PeekMessage with PM_NOREMOVE) and sends all messages down through the app via AfxGetApp()->PumpMessage().... more »
|
|
DB2 UTF-8 ODBC double conversion
|
| |
I inherited a non-Unicode MFC project that connects to DB2 database through ODBC. The application uses UTF-8 strings for database transactions because the the strings are multilingual. In DB2 Control Center I see those strings as "raw", but when calling SELECT LENGTH(<some_column>) FROM <some_table> I see that each UTF-8 byte... more »
|
|
Q) CCombobox only displays one item.
|
| |
Hi, I've added several strings into a combobox, but I did see only selected item when I clicked the dropdown button. (please see below sorce code. I only see "A-" when I clicked the droupdown button) Why i didn't see any other string such as "A+", "A", and etc? Could you please advise me? Thank you.... more »
|
|
|