Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Edit Controls

Posted on 1997-04-30
2
Medium Priority
?
247 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 300 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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 pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

972 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