Search:
Type: Posts; User: printz0r
Search:
Search took 0.05 seconds.
-
RichEditCtrl displays values that the microcontroller outputs. The loop is important because there are various modes the microcontroller is in. Sometimes it should get values, othertimes it shouldn't
-
I'm going to read key strokes and send the key strokes to a microcontroller and have the microcontroller process them and send back commands that may end the infinite loop.
-
I don't know how to bypass how MFC handles messages but I need to read input character keys while being in a while loop. An example is posted below;
runmode=1;
//get input keys from...
-
June 26th, 2012, 08:11 PM
I solved the issue:
In the on create
SetEventMask(GetEventMask()|ENM_UPDATE);
then activate the message handler
void CCtrl::OnEnUpdate()
{
-
June 26th, 2012, 07:03 PM
Hi,
I'm using SetSel in my RichEditCtrl window to replace certain lines of text. The problem is its not aesthetically pleasing when the window highlights the word for a split second and then...
-
June 20th, 2012, 03:09 PM
Using SetEventMask(GetEventMask()|ENM_UPDATE); fixed the problem, so directly after UpdateWindow() is called, the text gets displayed. But how would I do a timer tick method?? That seems more...
-
June 19th, 2012, 04:42 PM
Inside my CRichEditCtrl class,
I have a loop that changes the text using
SetWindowText(a);
UpdateWindow();
But the window is not being updated to the text. I know this because when I'm in...
-
June 10th, 2012, 06:24 PM
I still get the same result, which results in the cursor moving to the left and still no highlighting. Furthermore, supposing the highlighting did work, the cursor doesn't move to the left until...
-
I have a code here that should send the window ctrl+shift+left arrow. This should highlight the previous word. All that happens in the cursor moves to the beginning of the word as if only ctrl+left...
-
Please enlighten me. What is a better way to view, edit modify the document and view class? Lets say I want certain highlighted in my document?
-
This makes sense. So how would I write strings to the document? Or highlight certain words in the document and display it to the active view?
FILE *f;
CMyDoc *pDoc=(CMyDoc...
-
I'm trying to write a string from CMainFrm to the view window. The View window is inherits CRichEdit. I tried GetActiveView() instead of GetActiveWindow() and it still didn't work. Why won't this...
-
I think I figured it out from trial and error. Its putting the CMyView class into the left splitter window when I use pContext->m_pNewViewClass. I then can control CMyView class through the...
-
I guess my question is:
What is this object pContext->m_pNewViewClass and what is it placing in the left splitter window?
-
I guess my question is:
What is this object pContext->m_pNewViewClass and what is it placing in the left splitter window?
-
I am trying to put a view class into each splitter window.
I have a problem with using m_leftClass. I want to use m_leftClass so I can attach it to a separate ViewClass and RichEditCtrl class....
-
April 12th, 2012, 05:23 PM
I have a program that implements bars using a class called CCoolBar that ultimately inherits CControlBar. I like it because I can dock the bar using MFC commands such as
...
-
March 22nd, 2012, 02:54 PM
I'm being thrown in the deep end - There are multiple layers of the code, and I figured the flow chart shouldn't talk about how the MFC works, but more on how the functions work. The second disparity...
-
March 20th, 2012, 03:40 PM
Thank you.
I looked for instance declarations under the CWinApp class and couldn't find any.
I did find this though:
CWinThread *g_pBasThread=NULL;
Is my logic correct?:
-
March 19th, 2012, 03:28 PM
I was given a project to make a flow chart of a windows application. I was given all the source files and the project file that opens with microsoft visual studio. There are about 30 header files and...
|
Click Here to Expand Forum to Full Width
|