?
Solved

use mscomm ctrl without a dialog

Posted on 2002-06-04
3
Medium Priority
?
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
fl0yd earned 200 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 …
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, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 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