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
L

LeeeNN

@LeeeNN
About
Posts
79
Topics
47
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Vista has soooo many compatible issues,
    L LeeeNN

    WinCE5.0 won't work properly on it. and many apps runs on XP won't work on Vista. What's wrong with it? :mad:

    Windows API question

  • how can I launch another application( like notepad.exe ) in my VC
    L LeeeNN

    This link is pretty helpful. thank for all your guys' answer.:rose:

    C / C++ / MFC algorithms json question

  • how can I launch another application( like notepad.exe ) in my VC
    L LeeeNN

    I want launch another application, like notepad.exe or xxx.bat, in my VC application. I knew there is API can do it. but after searching on Web I could not find it. Please tell me what API is it. Thank you. Richard

    C / C++ / MFC algorithms json question

  • two toolBars side by side
    L LeeeNN

    Thank you very much. I spend lots of time trying to figure it out.:)

    C / C++ / MFC question

  • two toolBars side by side
    L LeeeNN

    in My MDI, i have two toolBars. when run app, the standard toolBar is on top, another toolBar is below it. How can I manage the second toolBar beside the standard toolBar? thanks:^)

    C / C++ / MFC question

  • How could I display clock time on toolBar?
    L LeeeNN

    Thank you, is there a clock control?

    C / C++ / MFC question

  • How could I display clock time on toolBar?
    L LeeeNN

    Thank you. But I just want to display text on toolBar and m_wndTimerBar.SetButtonText( 0, "clock" ); won't show string on the toolBar. Please help.:doh:

    C / C++ / MFC question

  • How could I display clock time on toolBar?
    L LeeeNN

    :rolleyes:

    C / C++ / MFC question

  • get millisecond
    L LeeeNN

    Thank you. But how accurate can I trust it?

    C / C++ / MFC question

  • get millisecond
    L LeeeNN

    How can I get millisecond time? CTime::GetCurrentTime() only return second precise. Thank you.:sigh:

    C / C++ / MFC question

  • Different CSplitterWnd behaviour needed
    L LeeeNN

    overload CMainFrm::OnSize(), you can do what ever you want to do there.:-D

    C / C++ / MFC question

  • TrackPopupMenu() blocks message engine
    L LeeeNN

    my application have constant data stream coming in, and MyView shows them continuously. When user right click mouse, popup a menu, menu show data's properties, and let user to toggle a feature. so it more like menu in stead of a dialog. My concern is if it take 2 second for user to open popup menu and close the menu, the in coming data stream display will be frozen for that period( I think, not sure yet, because TrackPopupMenu() will stop( frozen App ) ) dialog is a option, but as you said non-optimal. I did not understand your first option. any idea? Thank you.

    C / C++ / MFC question

  • TrackPopupMenu() blocks message engine
    L LeeeNN

    Yah, I have thought that way. But is there a way to let popup menu act like a modeless dialog?

    C / C++ / MFC question

  • TrackPopupMenu() blocks message engine
    L LeeeNN

    Soory. I don't want my application blocked, when waiting for user is thinking which item in the popup menu to select. because TrackPopupMenu() blocked the message coming in.

    C / C++ / MFC question

  • TrackPopupMenu() blocks message engine
    L LeeeNN

    Hi, everyone, I use TrackPopupMenu() in my CMyView::OnContextMenu() to display a popup menu. But I found that code won't come out TrackPopupMenu(), unless popup menu disappeared. that mean CMyView won't handle any other message except mouse click( which makes popup menu disappeared ). This is not acceptable, in "real-time" data processing. Anybody have any idea?:confused:

    C / C++ / MFC question

  • CWnd::OnRButtonUp( )
    L LeeeNN

    in CGridCtrl::OnRButtonUp() it calls base class's CWnd::OnRButtonUp() so My DlgA::OnContextMenu() was called. I want do same thing for my View. But why MyView::OnContextMenu() won't be called. MyView is CGridCtrl's parent. same as DlgA

    C / C++ / MFC csharp css debugging tutorial question

  • CWnd::OnRButtonUp( )
    L LeeeNN

    I down a example (gridctrl_demo225) to study. in the code one thing puzzled me. platform : VC.Net a CGridCtrl based on CWnd, a Dialog(CDlgA) is the parent of the CGridCtrl instance. following is a part of the code // EFW - Added to forward right click to parent so that a context // menu can be shown without deriving a new grid class. void CGridCtrl::OnRButtonUp(UINT nFlags, CPoint point) { CWnd::OnRButtonUp(nFlags, point); // !!!this call trigers CDlgA::OnContextMenu(...) : : } I read document of CWnd::OnRButtonUp(nFlags, point), it does not say, it will triger parent's OnContextMenu. so if I say CWnd::OnRButtonUp(nFlags, point) calls parent's OnContextMenu(...). Is it right? And the weird thing is I set a breakpoint in CDlgA::OnContextMenu(...) want to see who calls it. There is no records of callstack.

    C / C++ / MFC csharp css debugging tutorial question

  • colorful text in Edit?
    L LeeeNN

    :doh:I have a static control(derived from CStatic) and it contains two lines. I want to set the color of the first line to blue and the second line to red. Currently I am using the CDialog::OnCtlColor and using the SetTextColor function to set the color. However it sets the color for the whole static control i.e. both the lines. Can someone help?

    C / C++ / MFC help question

  • What is the proper way to implement this?
    L LeeeNN

    In my MDI project. MainFrame has a m_CoolBarCtrl, m_TabCtrl and m_DirTreeCtrl. they are all dynamically created. in the Create funcation specify parent CWnd. m_CoolBarCtrl parent is MainFrame m_TabCtrl parent is m_CoolBarCtrl m_DirTreeCtrl parent is m_TabCtrl When user click on a abc.cpp file in the DirTree, I want to notify the main frame to open this file. How can I implement this? Please give me a direction.

    C / C++ / MFC question c++

  • control in View
    L LeeeNN

    in my MDI project. there is a "CGridCtrl m_Grid" variable in MyView. I want MyView to intercept Windows Message to m_Grid. Can I do that? I was thinking SubclassDlgItem may work, but I realy can't to figure it out. Any help is appreciate. :^)

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

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