Search:
Type: Posts; User: kingting
Search:
Search took 0.05 seconds.
-
I have actually fixed this problem thanks for all the help!
-
Hello everybody, I fixed the painting problem. However, my toolbar that I created keeps dissapearing whenever a window passes over it, and it requires me to minimize and restore the window for it to...
-
The two do not do the same thing?
I will try this. Thanks!
-
case WM_PAINT:
{
HDC hdc = GetDC(hwnd);
RECT rect;
GetWindowRect(GetDlgItem(hwnd, ID_SM_SKETCH),&rect);
FillRect(hdc, &rect, CreateSolidBrush(GetSysColor(COLOR_3DFACE)));...
-
I fill the rectangle of the group box in my WM_PAINT message, however only the small static text (the group label) gets filled in with the brush. My tool bars constantly lose the back gray color as...
-
Actually I just fixed these issues, but the toolbar redrawing issue remains. Do I have to subclass the toolbar control?
-
the pages of the tab display are dialog boxes.
By "paints" I actually meant that using SetBkMode(), SetBkColor(), FillRect(), returning the hbrush that is the COLOR_3DFACE does not work for any...
-
Hi All,
I have several possible related problems, all of them having to do with controls dissapearing and or drawing improperly.
1)
First, I have a modeless dialog box that draws...
-
April 30th, 2012, 05:30 PM
I don't know anything about those. You are probably posting in the wrong forum as this is the graphics section.
-
April 30th, 2012, 05:24 PM
it also depends on how you are allocating data. so you want a 4x2 array of strings? are you using pointers or STL objects?
char *stringTable[4][2];
char userString[256] = {'\0'};
for(int i =...
-
April 30th, 2012, 02:11 PM
You are going to have to be more specific but if you are using winapi
you can acquire the text strings from the message EM_GETLINE i believe. There is plenty of documentation online.......
-
April 30th, 2012, 01:00 PM
Hi All,
I have the following code for taking a 128X128 pixel screenshot in the middle of my openGL window:
BITMAP glScreenBmp;
HBITMAP hglScreenBmp;
BITMAPINFOHEADER bih;
BITMAPINFO...
-
April 18th, 2012, 12:55 PM
I think I have it implemented and everything creates properly. When I place a break point at the CCustomAutoComplete::Next() it returns a string, however I do not see anything appear.... any...
-
April 17th, 2012, 09:43 AM
Hi All,
I have been using this tutorial to implement Auto completion in one of my text boxes. However I don't understand what they mean by Implementing IEnumString...
I've looked at this link...
-
April 17th, 2012, 09:35 AM
Through my limited programming knowledge, I have been using dll's and lib's and have no idea what they actually do... Like OP says, everything I read online tells you how to use them but there is...
-
February 3rd, 2012, 10:42 AM
So I can package a function like winMain into the dll and make it an exportable function? Or would I have an exported function that calls what is essentially in the body of winMain (not a call to...
-
February 2nd, 2012, 01:13 PM
I am also interested in this. I don't mean to hijack this thread but: What are the limitations of creating windows from a dll?Can I effectively run an entire multithreaded client application through...
-
January 26th, 2012, 12:38 PM
I see your point Igor, but mainly my boss wants one of the two haha.
but in the end, the use cases boil down to the customer being able to use the getString and setString functions within a running...
-
January 26th, 2012, 10:43 AM
Thank you, I will take a look .
Now I just have to get interoperability working with my old C code...
I realize that both routes (WCF and COM) require significant rewrites in code. The...
-
January 25th, 2012, 01:20 PM
So all these books and tutorials help me understand the concepts within COM, such as implementing IUnknown, IClassFactory, etc, etc. but what I don't understand how I can piece this together with a...
-
January 23rd, 2012, 11:29 AM
http://www.codeproject.com/Articles/3173/A-simple-yet-debuggable-COM-skeleton-code
I am actually using this now, and plan on adapting the code for the out of process automatation enabled server. Is...
-
January 20th, 2012, 11:20 AM
Hi All,
I am currently following this tutorial
http://www.codeproject.com/KB/COM/com_in_c1.aspx
but this teaches you how to build a .dll. If i already have an existing application, how do...
-
January 19th, 2012, 06:02 PM
So it seems...I'm thinking about just going with the COM out of process server. I will try to draft up a simple project ASAP and see what happens.
Regardless thanks for the input so far!
-
January 19th, 2012, 04:56 PM
So does this C executable have to be compiled a s a COM object or can I have this C application and a .idl resource file and compile them together to create a separate exe for the application and the...
-
January 19th, 2012, 10:59 AM
Igor: I beleive the goal is all of that eventually, but I am going to start out very simple haha.
I think I got ahead of myself. So, I'm just going to start a new project and make it as easy as I...
|
Click Here to Expand Forum to Full Width
|