Search:
Type: Posts; User: lichtf
Search:
Search took 0.02 seconds.
-
Thanks for everyone's help.
I finally figured out why my program was crashing. And it didn't even have anything to do with the threads. I had a memory leak that I didn't notice. Don't you just...
-
Thanks for the replies.
First of all I did try using the AfxEndThread function and it still crashes.
It also crashes with or with out the AfxMessageBox call.
Bo I think you might be on to...
-
Thanks for the reply.
I don't think that the main program exits before the thread, but I am getting that error you mentioned.
I am using an MFC dialog application. So the main thread shouldn't...
-
Hello all-
I have a problem with my program crashing. I start a CWinThread worker thread using afxbeginthread. After the thread function returns my program crashes. Here is the code I use to...
-
June 17th, 2002, 03:00 PM
You do want to use the LPVOID. Inside your myThread function you will have to use a cast to get the parameter to the variable type that you want.
For example
DWORD WINAPI myThread(LPVOID...
-
June 17th, 2002, 02:44 PM
Did you build your program using Debug or Release mode?
If you have no clue what that question means then you built it using Debug mode. To change this in Microsoft Visual C++ select Set Active...
-
June 11th, 2002, 02:47 PM
Make sure that your bmp variable is a member variable, or a global variable I guess. If it isn't then everything will return true like it worked, but it won't be implemented(I guess it does get...
-
Thank you very much for your help. The subclassing accomplished exactly what I was looking for!
-
I'm not sure why your program would be crashing, but here is a link to a page that shows you how to add radio buttons to a dialog box:
...
-
-
I am trying to have a custom popup menu be displayed when the user right clicks on the edit portion of the combo box.
I have added this code to the inherited CComboBox class I made:
LRESULT...
-
I believe that your problem can be solved by using a brush. Add COLORREF and a CBrush member variables to your CImportDlg class.
CBrush m_brushOutput_Box;
COLORREF m_colorOutput_Box;
Then add...
-
Hello all-
I am trying to create a bitmap during runtime. I would like to use an RGB color to create a bitmap of just that color. I then want to display the bitmap in a popup menu.
I have...
-
Thanks for your help.
I will probably have to do something like that as well.
-
Hello All-
I am a first time user of Visual Basic. I am trying to use a List View control. I have two questions.
- I am wondering if it is possible to allow the user to select and edit a...
-
April 17th, 2002, 10:21 AM
You will need to handle the UPDATE_COMMAND_UI message for the toolbar button. In this function you can enable or disable your button.
The reason what you're doing doesn't work is because you are...
-
April 3rd, 2002, 10:49 AM
I think what you're looking for is something like this:
UINT thread (LPVOID parameter)
{
//cast the parameter into a pointer of your dialog class
CYourDlgClass* pdlgClass =...
-
April 2nd, 2002, 03:49 PM
I hope you've had some luck figuring out your problem, but if you haven't or for anyone else out there that might need some help with the same issue.
There is an AnimateWindow function which might...
-
April 2nd, 2002, 12:42 PM
Thank you very much. That worked perfectly!
-
April 2nd, 2002, 11:32 AM
I would like to set a minimum to the amount the user can resize the dialog box. I've tried catching the WM_SIZING message in the WindowProc function, but I can't get it to work.
Here is the code...
-
April 2nd, 2002, 08:21 AM
Here is a link to a page in MSDN which gives some good differences and explains some problems you might have when changing your build from debug to release.
...
-
April 1st, 2002, 03:08 PM
I have included the Microsoft Forms 2.0 Label Active X control on one of my modeless dialog boxes within my SDI project.
I am trying to change the text of the control during runtime. When I call...
-
April 1st, 2002, 02:24 PM
Did you build it with the debug configuration or the Release configuration?
To distribute it you need to build it with the Release configuration. To change this in Microsoft Visual C++ select the...
-
April 1st, 2002, 01:40 PM
I have included the Microsoft Forms 2.0 Label Active X control on one of my modeless dialog boxes within my SDI project.
I am trying to change the text of the control during runtime. When I call...
-
March 19th, 2002, 04:28 PM
Thanks for your reply. I figured I'd have to make a new inherited edit box class.
If any one else knows of a different way I'd like to hear it.
Thanks
|
Click Here to Expand Forum to Full Width
|