Skip to content
/ XMFC Public

Reworked MFC Controls by Dark theme

Notifications You must be signed in to change notification settings

idaviden/XMFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMFC

Reworked MFC Controls by Dark theme image

Initial API (MDI Only)

  • Set parent for your base main class by XWinApp
  • Set parent for your base main frame by XMDIMainFrame
  • Set theme by CVisualManagerWin10Dark

Chart (XChartCtrl)

image

  • Call Create function
  • Set base type (eLinear/eFill/eMulti) by SetType(type)
  • Set Grid size by SetGrid(x, y)
  • Add points to Points variable.
    • Fill/Multi: you need to reduce the last point to the first

Edit Box

  • XEditText: - all user data

  • XEditFloat - only float data

  • XEditUnsigned - only unsigned numerics data

  • SetFrameRender(bool) - For drawind border

  • SetHint(string) - to draw a hint when losing focus

image

Docable Pane (XDockablePane)

  • Override OnChangeVisualStyle if need
  • Use gPaneManager->OnChangeVisualStyle() into theme change function

Other

The rest of the components are simply redrawn under the dark mode with minimal corrections.

About

Reworked MFC Controls by Dark theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published