Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: kingting

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    I have actually fixed this problem thanks for all the help!
  2. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    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...
  3. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    The two do not do the same thing?


    I will try this. Thanks!
  4. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    case WM_PAINT:
    {

    HDC hdc = GetDC(hwnd);
    RECT rect;
    GetWindowRect(GetDlgItem(hwnd, ID_SM_SKETCH),&rect);
    FillRect(hdc, &rect, CreateSolidBrush(GetSysColor(COLOR_3DFACE)));...
  5. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    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...
  6. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    Actually I just fixed these issues, but the toolbar redrawing issue remains. Do I have to subclass the toolbar control?
  7. Replies
    16
    Views
    1,645

    Re: Why are my windows transparent?

    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...
  8. Replies
    16
    Views
    1,645

    Why are my windows transparent?

    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...
  9. Thread: 2D array

    by kingting
    Replies
    7
    Views
    1,789

    Re: 2D array

    I don't know anything about those. You are probably posting in the wrong forum as this is the graphics section.
  10. Thread: 2D array

    by kingting
    Replies
    7
    Views
    1,789

    Re: 2D array

    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 =...
  11. Thread: 2D array

    by kingting
    Replies
    7
    Views
    1,789

    Re: 2D array

    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.......
  12. Replies
    0
    Views
    353

    OpenGL ddbitmap to dibitmap help

    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...
  13. Replies
    1
    Views
    1,174

    Re: IAutoComplete tutorial

    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...
  14. Replies
    1
    Views
    1,174

    IAutoComplete tutorial

    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...
  15. Re: Why is .lib file necessary when load time linking DLL

    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...
  16. Replies
    10
    Views
    10,247

    Re: CreateWindow in win32 dll

    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...
  17. Replies
    10
    Views
    10,247

    Re: CreateWindow in win32 dll

    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...
  18. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
  19. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
  20. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
  21. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
  22. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
  23. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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!
  24. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
  25. Replies
    32
    Views
    3,375

    Re: COM and .NET vs WinAPI

    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...
Results 1 to 25 of 75
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center