Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sharda bhagwatkar

@sharda bhagwatkar
About
Posts
11
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Message Queues
    S sharda bhagwatkar

    Thanks for the replies and articles. This is my understanding 1. device driver for the mouse or keyboard converts the input into messages and places them in the system message queue 2. The system removes the messages, one at a time, from the system message queue and then posts them to the message queue of the thread that created the destination window. e.g. in dialog based application it is a message queue associated with CWinThread (main thread) which has its message loop also. 3. Hence the message queue and message loop are associated with Thread not the window. 4. When UI thread is created inside the application, intially it does have message queue and message loop, but when some message is posted it creates the message queue and message loop on demand. I still have one more query here. What will happen in case when modal dialog is launch on some button click of dialog based application and how will be the case with modeless dialog boxe.

    C / C++ / MFC data-structures

  • Message Queues
    S sharda bhagwatkar

    I am confused by reading many articles. Can any one tell me how many message queues are there in dialog based application. Are there separate message queues for each window or each thread has its own message queue.

    C / C++ / MFC data-structures

  • Message Queue
    S sharda bhagwatkar

    I am confused by reading many articles. Can any one tell me how many message queues are there in dialog based application. Are there separate message queues for each window or each thread has its own message queue.

    The Lounge data-structures

  • EN_KILLFOCUS AfxMessageBox [Moved]
    S sharda bhagwatkar

    Yes your right...I also know it that validation in kill focus is not a good idea....but still i have to do it because its an requirement... Please suggest be some idea to handle this situation....

    C / C++ / MFC help

  • EN_KILLFOCUS AfxMessageBox [Moved]
    S sharda bhagwatkar

    I have a dialog box on which some Edit boxes are there. For validation of values in edit boxes, i have handled EN_KILLFOCUS. When EN_KILLFOCUS is called, value in edit box is validated. If validation fails, then AfxMessageBox is displayed "Input value is in correct". The problem is when i press ALT+TAB and switch to another application, the Afxmessagebox is re-displayed because EN_KILLFOCUS is called again. Please let me know any solution to be handled in EN_KILLFOCUS so that Afxmessagbox is not displayed. Thanking you in advance. Regards, Sharda.

    modified on Friday, July 24, 2009 12:41 AM

    C / C++ / MFC help

  • CreateControl Failed problem [modified]
    S sharda bhagwatkar

    Hi, In my application, I am creating an MSChart control dynamically like this:- CMSChart *m_pChart = new CMSChart(); m_pChart->CreateControl(m_pChart->GetClsid(),EMPTY_STRING, WS_TABSTOP, CRect(0,0,0,0), pParent, nCtrlID); On development environment( in which Visual Studio 6.0 is installed), the MSChart control is creating successfully(CreateControl() returns true). But on testing environment( in which Visual Studio 6.0 is not installed), the CreateControl API returns FALSE. Please let me know what must be the problem. Thanks.

    modified on Thursday, May 22, 2008 12:12 AM

    C / C++ / MFC csharp visual-studio testing beta-testing json

  • Zoom in MSCHART and calculate Plot area in Pixels
    S sharda bhagwatkar

    What do you mean exactly by scatter graphs ? Points with an X and Y value ? -> Yes, with values X and Y. Color: yes. Width: no (you mean the width of the axis line ?). Scale: partially (min&max and major division yes, but there's no minor division). Auto scale: yes. What do you mean by "marking data points" ? -> Yes, width of axis line. ->axis scale should support -ve values also. -> Marking data points means each point on graph should be highlighte with some symbol like cross, square etc. If you use two separate series with the same data then yes (one series for the points, one for the line). No, i want the functionality in which we can set the property for one series with either lines connecting between points or without line connecting between points. MSCHART control provide all this functionalities. But just Zooming MSCHART i am not able to do it.

    C / C++ / MFC help tutorial

  • Zoom in MSCHART and calculate Plot area in Pixels
    S sharda bhagwatkar

    Thanks for reply cedric. I checked your charting tool. But i want to plot the XY scatter graphs. Does you tool provide that. I also want to set all the properties og graph like Axes properities:- color, width ,scale( min, max, major division and minor division), auto scale function, marking data points Graph properties:- plotting points with/ without line connecting them, grid display function, labeling points, toggle title ON/OFF. Please let me know if your chart provide this.

    C / C++ / MFC help tutorial

  • Zoom in MSCHART and calculate Plot area in Pixels
    S sharda bhagwatkar

    Hi, I want to zoom in the selected area on MSCHART. The area can be selected through rectangle which will be shown when the mouse moves over MSCHART. Please help me if anyone know how to zoom this area on MSCHART. One method i can think is shifting the selected rect origin to plot origin. For doing this, i will require Plot area in pixels. Thanks.

    C / C++ / MFC help tutorial

  • Mouse Hook Problem on virtual desktop
    S sharda bhagwatkar

    thanks Iain, Actually i tried with both the options like g_MouseHook = SetWindowsHookEx(WH_MOUSE_LL, MouseProc , NULL,0); and g_MouseHook = SetWindowsHookEx(WH_MOUSE, MouseProc , NULL,GetCurrentThreadID()); Still in both the cases MouseProc is not called.

    C / C++ / MFC help

  • Mouse Hook Problem on virtual desktop
    S sharda bhagwatkar

    Hi, I have installed global mouse hooks in my application using following call g_MouseHook = SetWindowsHookEx(WH_MOUSE_LL, MouseProc , hInstance, 0); The mouse procedure is as follows extern "C" _declspec(dllexport) LRESULT CALLBACK MouseProc (int nCode, WPARAM wParam, LPARAM lParam) The MouseProc is calling successfully when current active desktop is "default". When i switch the desktop to some other desktop, the MouseProc is not calling. Can anyone tell me reason for this and also solution. sharda

    C / C++ / MFC help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups