473,394 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

CEdit Scrollbar help required.

I am attempting to write a program that does the following.

Opens up a dialog box with an editbox, checkbox, and button.
Initially, the checkbox and the button are disabled. A file is read
and sent to the edit box. This file contains a disclaimer. I want
the user to scroll all the way down to the of the disclaimer in the
editbox. Once the user has done this, the checkbox is enabled. Once
the checkbox is enabled, the button becomes enabled. Once the button
is pressed the dialog box closes.

The question is:
How do I implement the ability to scroll to the bottom of the
disclaimer in order to continue?

Thanks
Richard
Jul 22 '05 #1
2 1977
Richard wrote:
I am attempting to write a program that does the following.

Opens up a dialog box with an editbox, checkbox, and button.
Initially, the checkbox and the button are disabled. A file is read
and sent to the edit box. This file contains a disclaimer. I want
the user to scroll all the way down to the of the disclaimer in the
editbox. Once the user has done this, the checkbox is enabled. Once
the checkbox is enabled, the button becomes enabled. Once the button
is pressed the dialog box closes.

The question is:
How do I implement the ability to scroll to the bottom of the
disclaimer in order to continue?


Your question is offtopic here. Editbox, checkbox and
buttons are OS specific and have nothing to do with the
language C++.

You should ask in a NG concerning the Toolkit you use.
(In case youre using Visual Studio please ask in a microsoft
group)

hth

Christoph
Jul 22 '05 #2
On 6 Jan 2004 18:09:15 -0800 in comp.lang.c++, bi******@sasktel.net
(Richard) was alleged to have written:
I am attempting to write a program that does the following.

Opens up a dialog box with an editbox, checkbox, and button


If you want to talk about dialog boxes, checkboxes, and buttons, you
should post in a newsgroup that has something to do with dialog boxes,
checkboxes, and buttons.

comp.lang.c++ is about the usage of C++ language itself, which doesn't
have any of those things in it. For example, C++ code design, syntax,
style, rules, bugs, etc.

This issue is covered under the topic "[5.8] Which newsgroup should I
post my questions?" in Marshall Cline's C++ FAQ. It is always good to
check the FAQ before posting. You can get the FAQ at:
http://www.parashift.com/c++-faq-lite/
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: ragi | last post by:
I need put small animated gifs (like emoticons) into CEdit control in place of blinkinh caret. Thanks for help.
7
by: Sujan | last post by:
Hello all, Is it possible to remove scrollbar(s) without using frames. Is there any code which could be applied in body tag to remove scrollbar(s). Thanks in adv, Sujan
1
by: rh | last post by:
Hi, is there a property on the VScrollbar to activate this feature or is custom coding required? This feature exists on MS Word's vertical scrollbar and I would like to add this feature to my...
2
by: garrry | last post by:
Here is the situation (in VisualC++6 environment): 1. some number is enterd into a CEdit window by user 2. the application has to obtain that number and do some calculations with it (just...
1
by: hamm.charlesw | last post by:
I have a small app that filters out illegal characters typed into a CEdit by doing a GetWindowText(), followed by the filtering, followed by a SetWindowText(), all within a routine fired from an...
1
by: rag84dec | last post by:
Hi, I am trying to write an MFC code which has the Dialog which has a menu option Edit which has an option "Copy File content"... Now i want to get the text entered in the Edit box.What function...
1
by: rag84dec | last post by:
HI, I have an MFC code which has a dialog and a menu.One menu option is Edit which has "Copy File content".There are 2 CEdit boxs.IDC_EDIT2 and IDC_EDIT3.I am reading the text in the Edit boxes. ...
2
by: stefaan | last post by:
Hi all, I have a CEdit window in my application which I use as a sort of output console for text generated by my program. Each subsection writes to its own string buffer and every 2 seconds I...
0
xarzu
by: xarzu | last post by:
How do you change the enabled state of an CEdit control? There does not seem to be any CEdit or CWnd member function that will do it. In MSDN, there mentions something about a Control Table. ...
0
by: abhishekjha22 | last post by:
Hi, I have a CEdit control. I can accept only 4 characters and that should be Numeric and no spaces allowed. I want to set the contents of the Editbox empty. But when i try to do edit.SetText("...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.