![]() |
|
#1
|
|||
|
|||
Creating OCX with dialogHi All,
Currently, i'm trying to learn about creating OCX in Ms.Visual C++. All books that I've read always giving me an example about drawing something in the OnDraw function of class CxxxCtrl. Well, it's okay for some cases, but I think if only I can have a dialog into my OCX then the program can be created easily. This is my case. I like to create a kind of OCX of digital clock. Of course I can just write code on OnDraw about the value of Hour, Minute, and Second, and show it on the screen (of course I still have to create message handler from WM_TIMER) But I think, if only I can have a dialog box, I can put three Static Text on there (to represent Hour, Minute, and Second), and by applying another OCX Timer (named: ieTimer.ocx) on my dialog, I can just change the value of the Hour, Minute and Second easier. Would anybody can give me any information, about the possibility to create OCX from another control (that have been put onto dialog box) THanks. |
Recent GIDBlog
Developing GUIs with wxPython (Part 3) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accessing values from a different dialog | steph | MS Visual C++ / MFC Forum | 11 | 21-Jul-2006 18:55 |
| creating tabs in dialog box in vc++ | cnvikas | MS Visual C++ / MFC Forum | 1 | 21-Apr-2006 07:58 |
| dialog based application | hezyse | MS Visual C++ / MFC Forum | 1 | 20-Mar-2005 18:16 |
| Help! Some basal questions about MFC | xutingnjupt | MS Visual C++ / MFC Forum | 1 | 05-Dec-2004 03:38 |
| controling dialog objects & multiple source files | omills | MS Visual C++ / MFC Forum | 0 | 14-Jul-2004 23:30 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The