That does not seem very useful because BinaryReader.ReadString needs a special format of string to know how many characters to read. This data is coming from a web client that I have no control over,...
I am looking for ways to reduce flickering when resizing. I've set WS_CLIPCHILDREN on parent windows, which reduced a lot of flicker. I couldn't find anywhere were WS_CLIPSIBLINGS made a difference....
My toolbar buttons are all 16x15, however I can't size any controls within 28 pixels of the toolbar or the toolbar and control will have drawing errors with eachother. when located 28 pixels below,...
I am trying to make a read only edit control that behaves much like the compiler output in MSVC6 and I'm sure plenty of other programs. It should scroll down to include new text, unless the scroll...
Believe me I have no friggin idea how it works, but I've been using it and it has consistently worked fine. I'm pretty sure its just because TranslateAccelerator returns false right away, and then...
That is basically what I came up with, but I couldn't figure out what to pass to TranslateAccelerator when I tried it. Since you left that part out (;)) I took a potshot with this:
I am having trouble with accelerators and typing in edit controls. For example, if the user is typing text in an edit control in the app, and presses the delete key, instead of deleting a character...
I am working on something similar to a grid control, and I have nearly all the cell types that I want, except for one. I can't get the CComboBox to fit in 16 pixels vertically, mainly because I can't...
I tried replacing some things with the MDIActivate function, I still had some trouble. My manually maintained pointers do what I need, and don't cause a crash, so I'm going to stick with them. Thanks...
Alright, sorry for so many posts. I seem to have solved it by simply maintaining my own active view and document pointers, and not ever calling the SetActiveView MFC member function. I assume MFC was...
It is faster to do what I'm doing now than try that, in the past when I tried to find problems with MFC code like this, I've stepped right over it without realizing its something MFC doesn't like.
I only have one place where I use threads, and its not being used. Thanks for trying :) I think I will just start tearing it down until I find the cause, it is unreasonable of me to expect an answer...