Search:
Type: Posts; User: RCFox
Search:
Search took 0.18 seconds.
-
June 17th, 2012, 12:55 PM
Wait. I don't think the answer to my question is "yes". The background color of the larger CStatic rectangle (with checkbox) first appears at app startup set to RGB(60,60,60). That's what I coded it...
-
June 17th, 2012, 12:05 PM
Sorry about the poor resolution of this image, but you can see that the code works for the little user-drawn CStatic which displays the text "Settings", but the code has no effect within the larger...
-
June 17th, 2012, 02:10 AM
I appreciate it, though my main dialog's ON_WM_CTLCOLOR() doesn't have wParam or lParam as parameters. Maybe it's because I'm using MFC. I don't know.
It tried the following in ON_WM_CTLCOLOR() :...
-
June 17th, 2012, 12:38 AM
I have Dialog based app.
I have a derived class for my modified CStatic control.
It this classes' cpp, I implement the following:
void CCheckBoxBmpStatic::PreSubclassWindow()
{...
-
April 19th, 2011, 11:46 PM
I've since found a web page that gives a great sample/tutorial for serial port communications. The explanations are complete. It's easy to include in your project, and it works great.
Here's the...
-
April 26th, 2010, 01:34 PM
I have an SDI application which has 2 views (CFormView). The app needs to switch back and forth between the 2 views while working with the same document.
Both views have the same 50+ controls,...
-
February 23rd, 2010, 12:12 PM
Thank you. I just needed to be sure.
-
February 23rd, 2010, 03:38 AM
I've added a queue to my project... basically this...
#include <queue>
using namespace std;
class CDataQueue
{
private:
queue<CString> m_myQueue;
-
February 12th, 2009, 05:53 PM
I hope I explain this correctly (and briefly :) )
Igor, your code works great for me, in properly sizing the mainframe to fit my view(s).
It's also useful when the user changes his/her screen...
-
January 30th, 2009, 12:53 AM
I think so.... or thought so.
I was resizing my view (form), per the user's screen resolution, using SetWindowPlacement(). The view resizes correctly, but the mainframe didn't.
Earlier today, I...
-
January 28th, 2009, 05:06 PM
It's included in my OnInitialUpdate() just after I resize the view.
Apparently, in OnInitialUpdate(), my resizing isn't taken into account during the subsequent call of ResizeParentToFit().
...
-
January 28th, 2009, 04:32 PM
I have an SDI CFormView derived application.
In my CView, the form is resized dependent on the user's PC screen resolution. It works well for the view itself.
But... if the screen resolution is...
-
April 12th, 2008, 06:26 PM
Years ago, I paid Microsoft for a phone call. I called them with some problem I'd had.
I'm willing to try that again, as long they supply me with the correct answer.
Once I run into a problem...
-
April 11th, 2008, 09:48 AM
Hi, thanks. That should work, but...
no matter what order I put the bytes in, connect() throws the socket exception: Error 10047: An address incompatable with the requested protocol.
I cannot...
-
April 11th, 2008, 12:20 AM
I'm programming an embedded device, using C# within .NET Micro Framework.
In employing connect(), the only information I have on that call is:
public static void connect(int socket, byte[]...
-
April 5th, 2007, 06:06 PM
Thank you, MikeAThon. Yes, my CWinThread is a "UI" thread, and has a message pump.
Yours and MrViggy's responses are helpful. It makes sense, too. Upon further thought, a thread's coding could be...
-
April 5th, 2007, 04:33 PM
Thanks.
In my case, OnReceive() and OnSend() aren't in the main thread. They're in a CWinThread which I use to handle the CAsyncSocket. CWinThread does have a message pump, though.
-
April 5th, 2007, 02:12 PM
Although my question specifically deals with CAsyncSockets, this a very basic question about when Windows Messages can execute.
Does a user function need to complete before a Windows message is...
-
March 22nd, 2007, 11:46 AM
Thank you. I appreciate your time.
I'd been aware that sends could be split, but it had never occurred to me that they could be combined into one OnReceive() call. This area is somewhat new to me....
-
March 22nd, 2007, 12:05 AM
I'm using CAsyncSocket inside an MFC UI-thread in my peer to peer application. In using my app, there will only be two PCs communicating.
What surprises me is that if I send 2 pieces of data, one...
-
March 13th, 2007, 12:13 AM
Yes. I do have anti-virus installed. That could be it ! Thank you !
As far as "Hex" suddenly becoming part of my menu, I wonder if there's a configuration file which I managed to mess up. :)
-
March 12th, 2007, 01:39 AM
Oh yeah, and now the word "Hex" appears in my IDE menu now.
I have no idea where it came from.
http://img.photobucket.com/albums/v721/Rusty909/Hex.jpg
~
-
March 11th, 2007, 11:28 PM
Hi,
I don't know where else to moan and groan...
My moaning and groaning is caused by the fact that I don't create the thread hightlighted below with blue text. At least, to the best of my...
-
March 3rd, 2007, 03:36 PM
Thanks. That does make sense.
I was (and am) confused about the purpose and use of the AsyncSocket::Create() lpszSockAddress parameter.
I'm glad you mentioned: " You'll have to define...
-
March 2nd, 2007, 09:00 PM
I'm writing a fairly simple server app. The app will know, ahead of time, the one and only IP address that it wants to listen for.
I'm using CAsyncSocket.
I have to assume that other IP...
|
Click Here to Expand Forum to Full Width
|