Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ncar!midway!msuinfo!buster.cps.msu.edu!jainm From: jainm@buster.cps.msu.edu (Myank Jain) Newsgroups: comp.windows.ms.programmer Subject: Passing parameters in Custom Control Message-ID: <1991May15.173946.21114@msuinfo.cl.msu.edu> Date: 15 May 91 17:39:46 GMT Sender: news@msuinfo.cl.msu.edu Distribution: usa Organization: Dept. of Computer Science, Michigan State University Lines: 15 Originator: jainm@buster.cps.msu.edu Hi Folks, I am writing a custom control DLL for having different fonts and colors in the same dialog box. So far I had success my custom control works fine and I can have different font and colors for different text in the same dialog box. Now my problem is how can I pass parameters to my custom control DLL because now I have to write new DLL for every text. I want it to read the text from the dlg files just like the "static" control. Any help is highly appreciated. I do not read the news very often so I will appreciate if you mail me at jainm@buster.cps.msu.edu thanks a lot in advance Myank jain