Solved

Edit Controls

Posted on 1997-04-30
2
228 Views
Last Modified: 2010-04-10
I am trying to load an edit control of the main window of my program. I am using Win32 API and BC++ 5.01.
I can get it to load but not display what I type in. When I type, the whole box flickers. I AM loading a PCX too and I wanted the edit control to be in a box I made on the PCX... what should I do? Is the PCX covering the edit control?
0
Comment
Question by:lanthe
2 Comments
 
LVL 4

Expert Comment

by:md041797
ID: 1163105
Send me your code
marc@OfficeWizard.com
0
 

Accepted Solution

by:
whitewolf042897 earned 100 total points
ID: 1163106
If the PCX is on top of the edit control, it is probably being repainted each time you interact with the edit control.  If the PCX has an 'area' on it that you want to use for text entry, you will need to clip that area when you repaint the PCX on the screen.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to 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
What does std::atomic give me? 7 125
How to gracefully close the c++ 11 thread? 3 95
Unable to start eclipse ? 17 142
How to convert Structure to vector of byte and vice versa 5 15
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

831 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