473,805 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How include animated GIF into CEdit ?

I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.
Jul 23 '05 #1
7 3000

"ragi" <ra*******@inte ria.pl> wrote in message
news:42******** **************@ mamut2.aster.pl ...
I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.


Whats a CEdit control?
Jul 23 '05 #2
codigo wrote:
"ragi" <ra*******@inte ria.pl> wrote in message
news:42******** **************@ mamut2.aster.pl ...
I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.

Whats a CEdit control?

It's MFC edit control.
Jul 23 '05 #3
codigo wrote:
I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.


Whats a CEdit control?


Some non-standard extension I'd say. So this question should go to a
newsgroup dedicated to the platform/library/compiler that the op is
programming for.

Jul 23 '05 #4
Rolf Magnus wrote:
codigo wrote:

I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.


Whats a CEdit control?

Some non-standard extension I'd say. So this question should go to a
newsgroup dedicated to the platform/library/compiler that the op is
programming for.

Ok. So how put icon in Windows API to Edit widget ?
Jul 23 '05 #5
ragi wrote:
So this question should go to a newsgroup dedicated to the
platform/library/compiler that the op is programming for.

Ok. So how put icon in Windows API to Edit widget ?


This question should go to a newsgroup dedicated to the
platform/library/compiler that you are programming for.

Jul 23 '05 #6

"ragi" <ra*******@inte ria.pl> schrieb im Newsbeitrag
news:42******** **************@ mamut2.aster.pl ...
I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.


comp.os.ms-windows.program mer.win32

The answer is: You can't (unless you're insane). You must use a
RichEdit Ctrl and provide an ole server that can display the images
(no animated gif's - bitmaps)
If you really want to have editing and animated gif, you must use a
CHtmlEdit, which comes with MFC from .net 7.1 and higher.
-Gernot
Jul 23 '05 #7

"ragi" <ra*******@inte ria.pl> wrote in message
news:42******** **************@ mamut2.aster.pl ...
codigo wrote:
"ragi" <ra*******@inte ria.pl> wrote in message
news:42******** **************@ mamut2.aster.pl ...
I need put small animated gifs (like emoticons) into CEdit control in
place of blinkinh caret.
Thanks for help.

Whats a CEdit control?

It's MFC edit control.


MFC is not C++, we deal with standard C++ here.
Jul 23 '05 #8

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

Similar topics

9
9730
by: John J. Hughes II | last post by:
Is it possible using Image or Bitmap to build and save an animated GIF file? I am not have a problem saving the GIF file just getting the frames added to it. I did find ImageAnimator but it only seems to deal with showing the GIF and not saving it. Thanks, John
2
1773
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 like in Windows Calculator), therefore the result must be a numeric value(double, float, etc.), not a CString object like it
1
1897
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 ON_EN_CHANGE message. I am developing this app on VC++ 7.1 under Win2K and it works fine. When I run the app on a WinXP box, the call to SetWindowText causes the app to exit (no messages). I also tried doing a SetSel(0, 1) followed by a...
10
23605
by: Liz | last post by:
All: Can anyone tell me why my animated GIF does not show up as animated when put into a pictureBox?? Thanks. Liz
1
2372
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 can be used? CEdit *edit1=(CEdit*)GetDlgItem(IDC_EDIT2); CString str=edit1->GetLine(); PLease help
1
1671
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. My code builds properly but while running it gives me an exception It is actually getting into the if statement if (!Inputfile.Open(str, nOpenFlags, &FileExc)) { FileExc.ReportError(); return;
2
2736
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 update the window. for this I use the following code. this is code I found on the internet. CEdit ctrlPad;
0
1588
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. ControlCondition Table http://msdn2.microsoft.com/en-US/library/aa368035.aspx How do I make use of this?
0
1080
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(" "); it asserts. Is there any possible way of emptying the text of the edit control
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10614
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10363
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4327
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3847
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.