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

Search:

Type: Posts; User: 12oclocker

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,636

    Re: Win32 child control thread

    just found something interesting...
    if(InSendMessage()){ReplyMessage(TRUE);}
    http://msdn.microsoft.com/en-us/library/ms810439.aspx

    very old article, but if I did need two threads to sendmessage...
  2. Replies
    5
    Views
    1,636

    Re: Win32 child control thread

    I got an idea, I think I will use LWA_COLORKEY and SetLayeredWindowAttributes for the main dialog, and create a child control static box with a specific color I want to be transparent, then I will...
  3. Replies
    5
    Views
    1,636

    Re: Win32 child control thread

    Problem is I need the child control to do it's DC operations in it's own thread, or it freezes the main dialog every X ms.
    I'm updating images very frequently in the child control, and it is causing...
  4. Replies
    5
    Views
    1,636

    Win32 child control thread

    I created a dialog with a child control, child control has it's own thread and message pump, and it has the dialog window set as the parent.
    Is this a bad idea?

    I already noticed I cannot wait on...
  5. Replies
    6
    Views
    627

    Re: Screen deteriorating....

    One thing to also check for is GDI object leaks, many people check for mem leaks, but if your leak GDI it is just as bad, and can cause the problem you are describing as well. Process Explorer from...
  6. Replies
    2
    Views
    481

    Re: LVS_NOSORTHEADER problem in Win7

    Thanks for the link, so I guess after creation you are stuck....
    this did work.....

    HWND hHdr = ListView_GetHeader(m_lsv1.m_hWnd);
    LONG stl = GetWindowLong(hHdr,GWL_STYLE);
    stl &=...
  7. Replies
    2
    Views
    481

    LVS_NOSORTHEADER problem in Win7

    Win32API (no MFC) in Windows 7
    once a listview control is created, if I add the style LVS_NOSORTHEADER, it has no effect, is does not disable the column buttons. Anyone have any ideas?

    //Code...
  8. Re: blocking sockets "connect" always returns 0

    edit...
  9. Re: blocking sockets "connect" always returns 0

    Thanks SMA, I created a new empty project, and copied and pasted those examples in, and re-linked to the libraries, then "connect" behaved as expect. So I'll need to do some digging to see why it's...
  10. Re: blocking sockets "connect" always returns 0

    Unaltered MS code does the same thing.
    I'm not setting myself up as a server, I am connecting to my appache server on another computer when I want to test a good connection, and just making up fake...
  11. blocking sockets "connect" always returns 0

    Running on windows 7,
    using example code...
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx

    my "connect" function always immediately returns 0; even when not...
  12. Replies
    42
    Views
    6,489

    Re: Windows 8 / Metro ?

    Maybe that's why anything that's not small bothers me, most of my work now days is embedded system stuff, everything must be very tight, some stuff is still desktop apps, and some of which must...
  13. Replies
    42
    Views
    6,489

    Re: Windows 8 / Metro ?

    I see I upset you somehow with my opinions, no I don't want your old TRS-80, I already have one, and it's my main PC of course. thanks though, (<-kidding) I'm still not compelled by the argument,...
  14. Replies
    42
    Views
    6,489

    Re: Windows 8 / Metro ?

    I could probably make a bloat sandwich from it. lol, Microsoft should call themselves, GigaSoft, since every attempt I have seen thus far at "re-inventing" how things are done just bloats the...
  15. Replies
    1
    Views
    1,430

    Re: SetAlphaBitmap not working

    I ended up having to write my own overlay stuff from scratch. never could get this working. maybe a hardware compatibility thing, I read on MSDN how this VMR7 overlay stuff was very hardware...
  16. Replies
    1
    Views
    1,430

    SetAlphaBitmap not working

    I'm using directshow, using VMR-7 IVMRWindowlessControl video..
    I can't get SetAlphaBitmap to work.
    SetAlphaBitmap returns S_OK, and acts like a bitmap was set on the video, but I see nothing.
    ...
  17. Replies
    1
    Views
    756

    Re: Custom Draw --- Listview

    nope, been researching this all day, I know this thread is old and dead, and I'm 7 years too late, lol, but I'll post this here for others to read in the future, since I have found no explanation on...
  18. Replies
    1
    Views
    1,272

    RichEdit CONTEXTMENU Cursor Fix

    if your having trouble with the RichEdit control not displaying the proper cursor during a right click contextmenu, here is the fix for it...



    ////the message handler
    case WM_SETCURSOR:
    ...
  19. Replies
    2
    Views
    1,150

    Re: Default Dialog Button not working

    Im using CreateDialogParam, to make a modeless dialog,

    I did figure out a work around, I trap the VK_RETURN message inside the richedit control, and use DM_GETDEFID to get the default button ID in...
  20. Replies
    2
    Views
    1,150

    Default Dialog Button not working

    I make a modeless dialog with this...
    CreateDialogParam

    my dialog has 2 richedit controls, and 1 button, I want the ENTER key to activate the button,
    I have the button set as default in the...
  21. Re: Win32API OnEraseBkgnd(CDC* pDC) equivalent?

    solved, use "Clip children" in dialog resource to prevent flickering, not erasebkg processing override needed anymore ;-)
  22. Win32API OnEraseBkgnd(CDC* pDC) equivalent?

    How to accomplish the "OnEraseBkgnd(CDC* pDC)" equivalent without MFC?

    Win32API gives you DialogProc, which only allows you to return TRUE or FALSE, I cannot call a default dialogproc, then do...
  23. Replies
    2
    Views
    775

    Re: RichEdit control crashes using SF_TEXT

    nevemind, I found the problem, I was deleting the string inside of the callback, I changed that so I don't do that anymore, thus why it only worked in debug mode, when not in debug mode a deleted...
  24. Replies
    2
    Views
    775

    RichEdit control crashes using SF_TEXT

    Im using codeblocks ide, with GNU GCC compiler,
    code WILL work in debug mode, but FAILS when you just execute the EXE without the debugger!

    problem is, when using SF_TEXT|SFF_SELECTION options to...
  25. Replies
    4
    Views
    1,308

    Re: Flickering on Win7 Progress Control Text

    ok, I figured it out, winXP must be specifying a 1px boarder of non-client area, and downsizing the client area of the control, so I did this to override that and make win7 and winxp both have the...
Results 1 to 25 of 61
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center