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
P

Pierre Couderc

@Pierre Couderc
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Article on svn - lamp & access
    P Pierre Couderc

    Well, When I have an old PC and I want to give it a second life, I install automatically a Ubuntu linux LAMP in 10 minutes and it makes me a perfect subversion server... Why do that under Windows..? But I understand it may scare non linux people.

    Pierre Couderc www.tol.fr

    The Java Lounge lamp visual-studio sysadmin linux collaboration

  • Article on svn - lamp & access
    P Pierre Couderc

    I do not well understand the question (the twist?) but the good answer for svn under Windows is certainly tortoisesvn

    Pierre Couderc www.tol.fr

    The Java Lounge lamp visual-studio sysadmin linux collaboration

  • How to get flat button in CPropertySheet(C++V6)?
    P Pierre Couderc

    Thank you Ryan, - the buttons DO HAVE these IDs : it is harcoded in CPropertySheet. - The good solution is CButton* pButton = (CButton*) this->GetDlgItem(IDCANCEL); if(pButton) { pButton->ModifyStyle(0,BS_FLAT);} - see thread microsoft.public.vc.mfc "Desperately trying to get flat buttons in a CPropertySheet" dated 07/02/2006 16:32 Thank you again pierre Pierre Couderc www.tol.fr

    C / C++ / MFC c++ tutorial question

  • How to get flat button in CPropertySheet(C++V6)?
    P Pierre Couderc

    Thank you for your ideas. I have tried to override OnInitDialog() but it does not work : BOOL CMyPropertySheet::OnInitDialog() { BOOL Stat= CPropertySheet::OnInitDialog(); CButton* pButton = (CButton*) this->GetDlgItem(IDCANCEL); if(pButton) { pButton->SetButtonStyle(pButton->GetButtonStyle() | BS_FLAT); pButton->Invalidate(); } pButton = (CButton*) this->GetDlgItem(IDOK); if(pButton) { pButton->SetButtonStyle(pButton->GetButtonStyle() | BS_FLAT); pButton->Invalidate(); } pButton = (CButton*) this->GetDlgItem(IDCLOSE); if(pButton) { pButton->SetButtonStyle(pButton->GetButtonStyle() | BS_FLAT); pButton->Invalidate(); } pButton = (CButton*) this->GetDlgItem(ID_APPLY_NOW); if(pButton) { pButton->SetButtonStyle(pButton->GetButtonStyle() | BS_FLAT); pButton->Invalidate(); } return Stat; } Pierre Couderc www.tol.fr

    C / C++ / MFC c++ tutorial question

  • How to get flat button in CPropertySheet(C++V6)?
    P Pierre Couderc

    Thank you very much : you are right that Davide Calbabro CButtonST class is excellent and I use it from years, but I do not see the relation with my problem. My question is how to get an access to OK, cancel button in a CPropertySheet to be able to work on them and pass them in flat mode? Pierre Couderc www.tol.fr

    C / C++ / MFC c++ tutorial question

  • How to get flat button in CPropertySheet(C++V6)?
    P Pierre Couderc

    Is there an easy way to get flat button style for standard buttons (OK, cancel...) in a CPropertySheet (in C++ V6)? Thank you in advance, Pierre Couderc Pierre Couderc www.tol.fr

    C / C++ / MFC c++ tutorial question

  • How to get context Cmenu AND mouse move info?
    P Pierre Couderc

    Hello, I use the right mouse button to start to rotate dynamically an object until the user clicks again on the right button when he is satisfied of the rotation. And it hase worked fine since years. Anyway, I would like to add a contextual popup CMenu on the right mouse button . But I want to keep my good old rotation at the mouse. So I want to : - display the popup menu and keep it displayed. - if the user moves the mouse I go on rotating the object ("under" the menu) until ... - he clicks the right button : then I want to ignore the menu - OR he clicks the left button because he has chosen something from the menu, the I ignore the rotation. My problem, is that I do not know how to do that : when I add the the CMenu in classic MFC programming, I have no more control on the position of the mouse.... Has a guru an idea? To get some message when the mouse moves? Thank you all Pierre Couderc Pierre Couderc

    C / C++ / MFC c++ help tutorial 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