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:
LeeeNN
Posts
-
Vista has soooo many compatible issues, -
how can I launch another application( like notepad.exe ) in my VCThis link is pretty helpful. thank for all your guys' answer.:rose:
-
how can I launch another application( like notepad.exe ) in my VCI 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
-
two toolBars side by sideThank you very much. I spend lots of time trying to figure it out.:)
-
two toolBars side by sidein 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:^)
-
How could I display clock time on toolBar?Thank you, is there a clock control?
-
How could I display clock time on toolBar?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:
-
How could I display clock time on toolBar?:rolleyes:
-
get millisecondThank you. But how accurate can I trust it?
-
get millisecondHow can I get millisecond time? CTime::GetCurrentTime() only return second precise. Thank you.:sigh:
-
Different CSplitterWnd behaviour neededoverload CMainFrm::OnSize(), you can do what ever you want to do there.:-D
-
TrackPopupMenu() blocks message enginemy 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.
-
TrackPopupMenu() blocks message engineYah, I have thought that way. But is there a way to let popup menu act like a modeless dialog?
-
TrackPopupMenu() blocks message engineSoory. 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.
-
TrackPopupMenu() blocks message engineHi, 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:
-
CWnd::OnRButtonUp( )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
-
CWnd::OnRButtonUp( )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.
-
colorful text in Edit?: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?
-
What is the proper way to implement this?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.
-
control in Viewin 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. :^)