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
M

Mumiozol

@Mumiozol
About
Posts
11
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • find window
    M Mumiozol

    If you want to find one window: HWND FindWindow( LPCTSTR lpClassName, // class name LPCTSTR lpWindowName // window name ); If you want to search for all: HWND GetNextWindow( HWND hWnd, // handle to current window UINT wCmd // direction ); int GetWindowText( HWND hWnd, // handle to window or control LPTSTR lpString, // text buffer int nMaxCount // maximum number of characters to copy ); Mickey :)

    C / C++ / MFC question

  • Any .Net Framework install problems?
    M Mumiozol

    I had no problems after installing .NET with Framework on XP system. I have .NET and Visual 6 both are working sepatately not causing any troubles. One thing you can call "trouble makeing" when running VC6 applications under .NET is use of some "old" functions. You'll get assert for example calling IsDigit with char less than 0 (some national signs). There was no such an assert in VC6. Mickey :)

    .NET (Core and Framework) question csharp dotnet testing beta-testing

  • ListBox use
    M Mumiozol

    The second method is set_DataSource but I have some problems with refreshing it's content during work (thread above) Mickey :)

    .NET (Core and Framework) question

  • DataSource and Listbox/ComboBox
    M Mumiozol

    I forgot to write it, but the point is invalidation doesn't work. That was my first idea, but even invalidating dialog doesn't work. I think it has something in common with the method of filling the list. Maybe DataSource method isn't designed for refreshing (would be stupid)? Mickey :)

    .NET (Core and Framework) csharp c++ dotnet

  • DataSource and Listbox/ComboBox
    M Mumiozol

    I set DataSource for ListBox in my WindowForm by calling set_DataSource and everything is ok. Then I add some data to my data source table and want list box to refresh it's data but nothing works. When I call Hide, then Show methods of ListBox it works but that's very stupid method. I'm quite new to .NET Framework classes and used to do this in MFC. Mickey :)

    .NET (Core and Framework) csharp c++ dotnet

  • Preventing a window from becoming maximized
    M Mumiozol

    Catch the WM_SIZE: OnSize( UINT nType, int cx, int cy ); if nType==SIZE_MAXIMIZED don't let the message go further. Mickey :)

    C / C++ / MFC question

  • Rich Edit: select all
    M Mumiozol

    That was only an example. AFAIK there's no special messages for CRTL+A or other non standard combinations. I must also say I didn't know messages you mentioned :) Mickey :)

    C / C++ / MFC c++ data-structures help tutorial

  • Focus / Not Focused
    M Mumiozol

    In your derived class MESSAGE_MAP section BEGIN_MESSAGE_MAP(CMyDialog, CDialog) ON_MESSAGE(WM_MOUSELEAVE,OnMouseLeave) END_MESSAGE_MAP() Mickey :)

    C / C++ / MFC question help

  • problem with dialog box and richedit control
    M Mumiozol

    Call AfxInitRichEdit(), that should help. Mickey :)

    C / C++ / MFC help

  • Rich Edit: select all
    M Mumiozol

    I have no idea about your problems but I wait for ON_WM_KEYDOWN() That's how I'm doing something on paste operation CTLT+V : void MyEdit::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) { if ( (nChar == 0x56) )//VK_V { if ( GetKeyState(VK_CONTROL) & 0xff00 ) {//do something} } } Mickey :)

    C / C++ / MFC c++ data-structures help tutorial

  • Focus / Not Focused
    M Mumiozol

    Try SetCapture to get mouse input even if it's outside of your dialog. To act only once when mouse cursor leaves dialog area try to catch WM_MOUSELEAVE, WM_NCMOUSELEAVE. Hope that's what you need. Mickey :)

    C / C++ / MFC question 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