Solved

use mscomm ctrl without a dialog

Posted on 2002-06-04
3
193 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 144
conditional code and condition difference 9 77
Change to event 1 100
unix example issues 18 73
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

21 Experts available now in Live!

Get 1:1 Help Now