changing_20the_20mdi_20background_20colour
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
changing_20the_20mdi_20background_20colour [2018/03/31 13:19] – external edit 127.0.0.1 | changing_20the_20mdi_20background_20colour [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Changing the MDI background colour===== | =====Changing the MDI background colour===== | ||
- | // by Richard Russell, March 2007//\\ \\ If your program uses a **Multiple Document Interface**, | + | // by Richard Russell, March 2007//\\ \\ If your program uses a **Multiple Document Interface**, |
+ | |||
+ | <code bb4w> | ||
DEF PROCsubclassmdiclient | DEF PROCsubclassmdiclient | ||
LOCAL E%, M%, O%, P% | LOCAL E%, M%, O%, P% | ||
Line 29: | Line 31: | ||
SYS " | SYS " | ||
ENDPROC | ENDPROC | ||
- | You should call this procedure immediately after initialising the Multiple Document Interface, as follows:\\ \\ | + | </ |
+ | |||
+ | You should call this procedure immediately after initialising the Multiple Document Interface, as follows: | ||
+ | |||
+ | <code bb4w> | ||
PROC_initmdi(hWindowMenu%) | PROC_initmdi(hWindowMenu%) | ||
MDIBkgdCol% = &800000 | MDIBkgdCol% = &800000 | ||
PROCsubclassmdiclient | PROCsubclassmdiclient | ||
- | The MDI background colour will be set to whatever RGB value you load into **MDIBkgdCol%**, | + | </ |
+ | |||
+ | The MDI background colour will be set to whatever RGB value you load into **MDIBkgdCol%**, | ||
+ | |||
+ | <code bb4w> | ||
MDIBkgdCol% = &008000 | MDIBkgdCol% = &008000 | ||
SYS " | SYS " | ||
+ | </ |
changing_20the_20mdi_20background_20colour.1522502348.txt.gz · Last modified: 2024/01/05 00:18 (external edit)