Description:
Microsoft Visual C newsgroup.
|
|
|
RichEdit50W in a dialog using VC6
|
| |
I have a legacy project in VC6 that has a dialog with a rich control in it. I now need to insert hyperlinks but the projects links against Riched32.dll by default and links are not supported.
I've seen some examples in CodeProject but I just can't figure it out. I would so much appreciate straightforward code that simply loads the latest rich edit control.... more »
|
|
Dynamic Window and overload functions
|
| |
Hi guys, it is me again.
I have some questions about creating dynamically windows in MFC and calling functions from it.
I create window with CWnd chils; child.CreateEx(...);
child.ShowWindow(SW_SHOW);
But then how to call/overload functions like: OnPaint, OnMouseMove and so on in that window?... more »
|
|
Serialization problem in CMap
|
| |
HI all. I have just started to try to use CMap, because it it seems
right for my application. After a lot of problems arose I found and
created a derived class from CMap, CMapEx. This seemed to resolve all
my issues with using CString with CMap, but the problem now is with
Serialization.
Serializaion almost works but there is a problem when reading in the... more »
|
|
MFC: TCP/IP and Serialization
|
| |
Hi guys, I have a program that I want to split into a server and client. The server to make the heavy calculations and the client just to use the ready data.
So my first question is how to do it: 1. Simple string TCP/IP sending some custom protocol 2. Serialization and then via TCP/IP... more »
|
|
MS_VC_EXCEPTION with a dwType 0f 0x1001, and a subcode of 0x1004. Meaning ?
|
| |
Hello All,
I'm catching debugging events, and saw one I cannot really find anything
about. The Debug-event carries a type-code of MS_VC_EXCEPTION. But than I
get stuck.
Following the argument count of 0x00000006 I get this:
00001001 00001004 0012936B 00000000 00000000 00000000
All google turned up was the setThreadName function, but it simply does not... more »
|
|
RegisterDeviceNotification and device driver initialization.
|
| |
Hi ,
we are having a problem detecting our custom usb devices with RegisterDeviceNotification.
The problem seems to be that the notification WM_DEVICECHANGE reaches the application before the device driver has properly loaded. And this does not happen everytime , 70% of the times devices are successfully opened after receiving the notification. but otherwise they fail with "device not found" type messages.... more »
|
|
Numeric keypad 0
|
| |
Has anyone seen a problem with isalnum not seeing the zero key on the
numeric keyboard? Num lock is on. The zero key on the QWERTY keyboard
works. Adding char 96 to the test works but it should not be needed.
Steve
-- EasyNN-plus. Neural Networks plus. [link]
SwingNN. Forecast with Neural Networks. [link]... more »
|
|
CMFCMenuBar and context help
|
| |
I have a context help button whose handler just calls
CMDIFrameWndEx::OnContextHelp( );
The mouse cursor turns into questionMark+arrow and applying it (eg) to a button then brings up context help instead of executing the command.
In the old days this used to work for context help on menu items too. But... more »
|
|
MDI app: how to manage children's data ?
|
| |
Hi all, I'm creating a MDI application with a toolbar (just like MS Word). The toolbar contains controls (let's say eg a combobox indicating the font for the current child window). What is the best way to store the data in the toolbar when, for a given child, the focus is lost, and to set the stored data back in the toolbar when the same child is gaining focus again ?... more »
|
|
|