Search:
Type: Posts; User: He_That_Is
Search:
Search took 0.01 seconds.
-
February 3rd, 2012, 06:25 PM
There is always a work-around. You can try this as well . . .
#include <vector>
using namespace std;
typedef vector<int> vec; // or whatever the type you like
typedef vector<vec>...
-
January 27th, 2012, 04:14 AM
Hey Thanks for the links to the blog and the Search Criteria. The thing is this, I don't want to start adding a lot of extra code and such to accomplish this task. Especially when it comes to third...
-
January 26th, 2012, 10:59 PM
I know about creating buttons dynamically, and that works fine for a frame that isn't likely to change with almost every click. So I can't get the results I want and maintain stability over...
-
January 25th, 2012, 10:58 PM
What I am looking for is a way to dynamically add and remove radio buttons and check boxes directly to a windows View (not a VB form or a C++ dialog) and/or an MFC CControlBar. The DrawFrameControl...
-
January 25th, 2012, 07:26 PM
Is there a replacement for the API function 'DrawFrameControl'? This command seems to link to the old API calls and loads NT4 (older) style controls. Normally this wouldn't matter, but these...
-
January 15th, 2012, 06:27 PM
I understand, I search these posts for insights and solutions from the past. And I figured is someone else does this they might appreciate having a couple of solutions in the same place to choose...
-
January 14th, 2012, 04:45 AM
Try this . . . You should know where to put each piece of this . . .
//in the .h file for the dialog (or whatever)
BOOL OnToolTipNotify(UINT id, NMHDR *pTTTStruct, LRESULT *pResult);
-
January 11th, 2012, 02:54 AM
You can manually add your own CTLCOLOR functionality, CWnd supports it.
//in the .h file
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//in the .cpp file
...
-
January 9th, 2012, 12:08 AM
If it says Microsoft on the box, there is sure to be trouble inside . . .
-
December 9th, 2011, 05:05 AM
"BTW, all this can be done inside the app itself, which even would make the things much simpler. "
How can I do this in the app? I would need to convert the app to RPC/COM enabled wouldn't I? Is...
-
December 9th, 2011, 03:35 AM
I have a program that I have written, and it is complex enough I don't want to convert it from a standard MFC app to an RPC enabled MFC app by creating the framework and porting all of my code over...
-
December 5th, 2011, 02:57 AM
This isn't exactly what you are doing, but it has all the same parts . . .
//in the .h file
#include <vector>
using namespace std;
typedef vector<CString> vec;
-
November 27th, 2011, 03:32 AM
Thanks for the response . . . I really do appreciate it. I will be looking into DCOM, however, I don't know if Web Services are the ticket, I will probably have to look into that as well just to be...
-
November 25th, 2011, 10:51 PM
Hello All, I am not familiar enough with RPC, and what I find through MS and general WEB searches about RPC seem more superficial. Is it possible to incorporate RPC into an existing application that...
-
November 18th, 2011, 12:40 PM
I took a closer to the resource info, and found a very interesting dilema. resource has the exact same resource ID's with the correct values, however, when I open the Resource ID editor (right-click...
-
November 18th, 2011, 12:07 PM
The return from the LoadBitmap() is FALSE (0), should be returning TRUE (1). The resource,h contains all of the resource ID's they are all correct and accurate, and the same as I am using in...
-
November 18th, 2011, 06:07 AM
I'm writing a program that will display bitmaps in its view. It is a view without a document. When the CBitmap does the LoadBitmap(nID) function, the CGDIObject does not initialize the CBitmap...
-
November 16th, 2011, 05:53 PM
Yes, sadly enough, I must agree . . . Rebuild the project as a proper app. Thanks for all of the input.
--Victor
-
November 16th, 2011, 01:35 PM
No, I did not. I have been creating the image list with the image all at once. Very remiss of me. Thank you this works just fine.
Many Thanks,
--Victor
-
November 16th, 2011, 01:14 PM
No, it's being called in the OnDraw() function, it was put there by DevStudio. And to Victors post, No, it didn't start out a Doc/View it was a CControlBar/split type thing, with a View and no...
-
November 16th, 2011, 04:34 AM
Yes, this is true, but the issue with that approach, is that the Create method that accepts the style constant for color depth doesn't allow for setting a transparent mask. And the Create method...
-
November 16th, 2011, 03:47 AM
I am working on an SDI Doc/View MFC application. The app seems to work fine (visually in release mode), but the document pointer returned from MyView::GetDocument() is always NULL, and I looked into...
-
November 14th, 2011, 04:31 AM
Hello all, Thank you in advance. I am writing an application wherein there is a dialog box in which I have placed a Tree-view Control (drag and drop visual control into the dialog box in DevStudio)....
|
Click Here to Expand Forum to Full Width
|