Search Results - CodeGuru Forums
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.01 seconds.

  1. 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...
  2. 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...
  3. Replies
    9
    Views
    1,307

    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...
  4. Replies
    9
    Views
    1,307

    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...
  5. Replies
    9
    Views
    1,307

    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...
  6. Replies
    9
    Views
    1,307

    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...
  7. Replies
    9
    Views
    1,307

    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...
  8. 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,...
  9. 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...
  10. 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 =...
  11. Replies
    11
    Views
    3,077

    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...
  12. Replies
    11
    Views
    3,077

    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)
    {
  13. Replies
    11
    Views
    3,077

    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...
  14. Replies
    11
    Views
    3,077

    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)...
  15. Replies
    11
    Views
    3,077

    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);
  16. Replies
    11
    Views
    3,077

    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...
  17. 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...
  18. 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...
  19. Replies
    1
    Views
    398

    VS2005:Plugin for storing array values

    I'm debugging a software and i need to dump selected variable (array of float or double values) to a txt file (or into other format) from debugger.
    Is there any Plugin available for Visual Studio...
  20. Replies
    7
    Views
    1,758

    Re: GetScrollInfo returns nothing on SB_PAGELEFT

    >>I guess, this topic is about a slider and not about a scrollbar control, given the ID name IDC_SLIDER.

    That is my mistake. I mixed this two different things.
    Thanks ovidiucucu for help.
  21. Replies
    7
    Views
    1,758

    Re: GetScrollInfo returns nothing on SB_PAGELEFT

    The structure is initialized to 0 before call. After GetScrollInfo the structure is the same as before calling GetScrollInfo. GetScrollInfo returns 1. GetLastError returns 0. So it seems everything...
  22. Replies
    7
    Views
    1,758

    Re: GetScrollInfo returns nothing on SB_PAGELEFT

    Yeah, i have change my code to SIF_POS and still GetScrollInfo returns nothing. No Errors as well.


    case SB_PAGELEFT:
    {
    HWND slider = GetDlgItem(hwndDlg,IDC_SLIDER);
    SCROLLINFO info;...
  23. Replies
    7
    Views
    1,758

    GetScrollInfo returns nothing on SB_PAGELEFT

    Hi everyone,

    I have searched the forum but found nothing related to my problem.

    I'm using a horizontal scroll bar in a dialog box. I want to process SB_PAGELEFT message.
    When WM_HSCROLL...
  24. Re: HMENU: How to get parent menu? (build in function)

    Yes. My case is as you described above. Number of menu items is variable. (when user adds a new graph to plot a new menu item is added). Each menu item has fixed number of sub-items. I think that...
  25. Re: HMENU: How to get parent menu? (build in function)

    The problem is that my menu is not static (number of idx may vary on program running). So when i add a new idx menu item i must generate unique menu id's for it. So there must be a dynamic storage...
Results 1 to 25 of 68
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