Solved

use mscomm ctrl without a dialog

Posted on 2002-06-04
3
192 Views
Last Modified: 2013-11-20
I want to use mscomm ctrl but my application does not have a dialog or a GUI.
One way to use is to have a hidden dialog and embed the control in that. But I am looking for a solution without having to use a hidden dialog.
0
Comment
Question by:rakhigovil
3 Comments
 
LVL 8

Accepted Solution

by:
fl0yd earned 50 total points
ID: 7055883
I don't quite understand -- this sounds like you need the functionality of some common control without displaying it. I don't think that is good practice.
Anyway: you need to call InitCommonControls[Ex] and create the control with a call to CreateWindow[Ex]. You need a valid window handle to pass as hWndParent in the creation process, so you need to create a window anyway. If everything went fine so far, call ShowWindow( SW_HIDE )

Really, I don't know what you're trying to do, so please be a bit more specific.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now