Solved

use mscomm ctrl without a dialog

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 93
Separate into files by filename 12 87
matchUp  challenge 6 69
changeXy challenge 13 88
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

856 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