| Line | |
|---|
| 1 | /* $Id: controls.cpp,v 1.6 1999-07-23 16:46:29 cbratschi Exp $ */
|
|---|
| 2 | /* File: controls.cpp -- Win32 common controls
|
|---|
| 3 | *
|
|---|
| 4 | * Copyright (c) 1999 Christoph Bratschi
|
|---|
| 5 | *
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #include <os2win.h>
|
|---|
| 9 | #include <string.h>
|
|---|
| 10 | #include "misc.h"
|
|---|
| 11 |
|
|---|
| 12 | #include "controls.h"
|
|---|
| 13 | #include "button.h"
|
|---|
| 14 | #include "static.h"
|
|---|
| 15 | #include "scroll.h"
|
|---|
| 16 |
|
|---|
| 17 | /* registration */
|
|---|
| 18 |
|
|---|
| 19 | void CONTROLS_Register()
|
|---|
| 20 | {
|
|---|
| 21 | dprintf(("Register BUTTON class"));
|
|---|
| 22 | if (!BUTTON_Register()) dprintf(("failed!!!"));
|
|---|
| 23 |
|
|---|
| 24 | dprintf(("Register STATIC class"));
|
|---|
| 25 | if (!STATIC_Register()) dprintf(("failed!!!"));
|
|---|
| 26 |
|
|---|
| 27 | dprintf(("Register SCROLLBAR class"));
|
|---|
| 28 | if (!SCROLLBAR_Register()) dprintf(("failed!!!"));
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | void CONTROLS_Unregister()
|
|---|
| 32 | {
|
|---|
| 33 | dprintf(("Unregister BUTTON class"));
|
|---|
| 34 | if (!BUTTON_Unregister()) dprintf(("failed!!!"));
|
|---|
| 35 |
|
|---|
| 36 | dprintf(("Unregister STATIC class"));
|
|---|
| 37 | if (!STATIC_Unregister()) dprintf(("failed!!!"));
|
|---|
| 38 |
|
|---|
| 39 | dprintf(("Unregister SCROLLBAR class"));
|
|---|
| 40 | if (!SCROLLBAR_Unregister()) dprintf(("failed!!!"));
|
|---|
| 41 | }
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.