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

Search:

Type: Posts; User: Sh@dow

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    6,281

    Re: How to create this type of window?

    >>You need to make MSDN your friend

    Yaah!!!
    RTFM always help. Just walked through another MSDN topic and understood finally how this WM_PAINT message work.

    By the way, I have tested several...
  2. Replies
    4
    Views
    6,281

    Re: How to create this type of window?

    Thanks a lot for reply.
    I didn't noticed that style flag. I will try it.
    It's sad that all books on WINAPI are the same in a sense that they describe only basics.
    I would like to learn more about...
  3. Replies
    4
    Views
    6,281

    How to create this type of window?

    Hi ALL,

    I am the crazy one who still program gui today using pure winapi interface.

    I would like to figure out how to create this type of window (pic attached).
    It is the window from Visual...
  4. Re: WInAPI+MDI: Child MDI window with a tab incorrect display on maximize

    After debugging i have solved the problem.
    WM_SIZE message handler for MDI child window was returning 0. Meaning that Default window procedure was not called.
    I seems that for correct window...
  5. Re: WInAPI+MDI: Child MDI window with a tab incorrect display on maximize

    Hello.
    The parent of the tab control is handle of the MDI window upon which it is created.
    I also noticed another ussue. All MDI windows has title. When we maximize MDI window the title of the main...
  6. [RESOLVED] WInAPI+MDI: Child MDI window with a tab incorrect display on maximize

    Hi ALL,

    My application GUI based on winapi and utilizes MDI.
    Everything was fine but when i added tab control to mdi child window i noticed a problem.
    When this window is maximized (within the...
  7. Replies
    3
    Views
    3,723

    Re: Inverting axes in the back buffer

    I am not programming with win GDI for a long time so i can't be 100% sure.
    The function TextOut(hMemDC, 20, 30, "Hello world", 12); expects the origin (0,0) to be at the top left corner of the...
  8. Draw with OpenGL in edit control on the dialog box.

    Hello everyone,

    I have created a dialog box (WinAPI). I added a Edit Control upon it. I want to draw inside with it using OPenGL.
    I simply set the color of the background of the edit control to...
  9. Can i create a graphical extension for Visual Studio 6.0 debugger?

    Hello everyone,

    I'm digging an old project and i can't switch to a newer visual studio.

    I want to plot float data array during debug.

    I know some IDE's have such option. There is a separate...
  10. Replies
    9
    Views
    2,210

    JavaScript Re: Apache and program interaction

    >>A device?...As in a peripheral? Or software?

    It is a device which has x86 processor inside and Embedded XP.

    It is a good idea to use a file. The only problem i see is sync.
    When program is...
  11. Replies
    9
    Views
    2,210

    JavaScript Re: Apache and program interaction

    Ok. I was unclear.

    There is a device running on Embedded XP. It measures some parameters of the fiber optics line. It is connected to a network.
    Operator resides far from that device and wants to...
  12. Replies
    9
    Views
    2,210

    JavaScript Re: Apache and program interaction

    The c++ generates array of numbers which must be plotted in the browser.
    Also there are some numbers which must be displayed in edit box.
    I want that data could be updated automatically every 5...
  13. Replies
    9
    Views
    2,210

    JavaScript Re: Apache and program interaction

    Hello,

    There is a computer where C++ program runs. I want to connect to it with a browser an see the data in the browser. The data is calculated by the C++ program.
    As i understand there must be...
  14. Replies
    9
    Views
    2,210

    JavaScript Apache and program interaction

    I have Apache server installed. I'm using Flot library to plot data in the browser.
    The data is generated in other software written in C++.
    I want the JavaScript to send command (when user press...
  15. Re: Controls are flicker madly on resize. I'm trying double buffering but I still ...

    >>How would I go about subclassing the parent form?

    After creating the form (CreateWindow / CreateWindowEx) do the following:


    prevwndproc = (WNDPROC) SetWindowLong (
    handle,...
  16. Re: Controls are flicker madly on resize. I'm trying double buffering but I still ...

    I don't know what controls do you use. I had a tab control. I did subclassing only for it, not for controls that is have. I worked for me.
    As i understood you have flickering when you resize your...
  17. Re: Controls are flicker madly on resize. I'm trying double buffering but I still ...

    Hi,

    I had a problem with flickering using tab control. I solved it with the help of sublass procedure
    Here how it looks like:


    WinTabBase* object =...
  18. Replies
    11
    Views
    7,890

    Re: GetMessage : how to identify message

    Here what i found about that:




    So there are main thread message loop and secondary internal message loop. When resize happens messages are sent to internal loop and not processed in thread's...
  19. Replies
    11
    Views
    7,890

    Re: GetMessage : how to identify message

    I have tried this:


    while(GetMessage(&msg,0,0,0))
    {
    if(!FilterCommand(msg))
    {
    TranslateMessage(&msg);
    if(msg.message == WM_SIZE)
    {
  20. Replies
    11
    Views
    7,890

    Re: GetMessage : how to identify message

    Yes. It seems that WM_SIZE is non queued message.

    I will describe the problem more deeply.

    I have a thread that creates a window. It has message loop and window proc. Working ok.
    I have...
  21. Replies
    11
    Views
    7,890

    Re: GetMessage : how to identify message

    I tried this. I see that messages arriving. I can capture WM_PAINT for example. But not WM_SIZE.
    I also tried this:


    while(GetMessage(&msg,0,0,0))
    {
    if(msg.message == WM_SIZE)...
  22. Replies
    11
    Views
    7,890

    Re: GetMessage : how to identify message

    I'm using the following code:



    while(GetMessage(&msg,0,0,0))
    {
    if(msg.message == WM_SIZE)
    OutputDebugString(L"SIZE");

    TranslateMessage(&msg);
  23. Replies
    11
    Views
    7,890

    GetMessage : how to identify message

    Hi, everyone

    I'm checking messages in a message loop. After i call GetMessage i'm trying to identify message from message field of the MSG structure. I found that identifiers differs from those...
  24. Re: How to disable default push button message handling

    No. I wasn't aware about this option. That worked. Thanks.

    PS: I found alternative way to do:
    SendMessage(hwndDlg,DM_SETDEFID,IDOK,0);
    and to ensure that there is no IDOK control in the dialog...
  25. How to disable default push button message handling

    Hi all,

    I have several edit controls and buttons on an edit control. When a number is entered and the user press enter i would like that nothing would happen.
    So i would like to disable the...
Results 1 to 25 of 75
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured