Solved

use mscomm ctrl without a dialog

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 137
How to determine file rename from EventLog ? 2 49
wait notify demo infinite loop 3 110
matchUp  challenge 9 108
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

770 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