 |
|
 |
Hi,
Thanks for useful stuff.
Is there any quicj/easy way to load Image from URL
such as httpp://www.abc.com/Image.bmp ?
HSO
|
|
|
|
 |
|
 |
Hi, friends,
I m using one dialog in which 2 command buttons and edit box and labels are there.
I want to add a picture for the background,for this i create a picture tool and add the picture.
But when i run the application only picture is visible command buttons, edit box and labels are invisible.
When i pressed the tab buttons the command buttons and edit box become visible but labels are still invisible.
Please suggest me how can i make labels, edit box and command buttons visible without pressing tab buttons.
|
|
|
|
 |
|
 |
I am developing my own slide show system that will continue to change background image of a panel replacing it with a picture read from a directory every 3seconds .This happens at runtime,How can i achieve this since in vc++ images used by the Form are in the resource class that reads them from .resx of the Form concern?
|
|
|
|
 |
|
 |
hello all,
i got the compilation as below, anyone can help? Thanks
LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf already defined in msvcrtd.lib(MSVCR80D.dll)
LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf_s already defined in msvcrtd.lib(MSVCR80D.dll)
LIBCMTD.lib(swprintf.obj) : error LNK2005: _swprintf_s already defined in msvcrtd.lib(MSVCR80D.dll)
Regards
Ho
|
|
|
|
 |
|
 |
Hi.
Good article.
But, how could I extend your class so it will able to load a bmp from resource instead of a file. I mean, ie. adding an overloaded Load function with the Bitmap ID instead of file path.
It's your class able to add this feature???
Thank you.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
 |
|
 |
Background have many options? As center, stretch, tile?
--------------------------
ERP VN: www.erpvn.net
|
|
|
|
 |
|
 |
Hi,
i have used cpicture in my ATL dialog to display a background image for the dialog. I have done it sucessfully and the code is compiling very well. But at the run time, it is not displaying any background image.
Please any body help me reagrding this.
Regards,
kumar
kumarkatikireddy
|
|
|
|
 |
|
 |
hi.
any one have Network programming (Microsoft Press)in VC++ soft copy ... other help abut it..
thanx
|
|
|
|
 |
|
|
 |
|
 |
PLZ Send it to me ,, at zahid_ash@yahoo.com
thanx
|
|
|
|
 |
|
 |
Just what i was looking for!
Sincerely yours, Ilya Kalujny.
|
|
|
|
 |
|
|
 |
|
 |
Be my guest.
Exontrol Inc. Software
http://www.exontrol.com
|
|
|
|
 |
|
 |
Hello friends,
I would like to show a BMP picture on the MDI client's background, Could you please give me a suggestion? Thanks a lot.
Good day.
Eric Lee
|
|
|
|
 |
|
 |
How to Adding a background image to any window use bitmap from resource in MFC.
The method in this class does't work.
|
|
|
|
 |
|
 |
I need to load a bitmap file, after or that show it in a window and let the user to choose a point of the image with the mouse(like if that were a matrix (x,y)). I must change the color of that point, and show it again.
Tanks for help me......
|
|
|
|
 |
|
 |
Use CBitmap class for loading image and then u have to change in BITMAP structure.
Good Luck !!!
Anuj Mishra
Software Engineer
|
|
|
|
 |
|
 |
I am new to the MFC world. I was able to successfully use your class to create a background image in my dialog. I have also placed some controls in my dialog. Once I loose focus to my dialog [alt+tab] then I come back my controls are not repainted. All I see is the background image. Please let me know how I can resolve this issue?
thanks a lot.
|
|
|
|
 |
|
 |
How would we load the image from a resource???
say a LoadResoruce(CString Resrouce);
Thanks,
David
|
|
|
|
 |
|
 |
LoadImage, LoadBitmap, LoadIcon....
Regards...
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
 |
|
 |
Hi, I think the question is how to rewrite the code that no path to the image has to be specified but that a resource identifier can be passed. Regards Bernhard
|
|
|
|
 |
|
 |
I accomplished that by using OleCreatePictureIndirect. Nice and easy.
Great piece of code BTW. Light and reusable.
Sincerely yours, Ilya Kalujny.
|
|
|
|
 |
|
 |
if i m right you are asking about how to convert a RESOURCE ID into a string which used as parameter in differnt Loading Function. SO you may use MAKEINTRESOURCE(ID_RESOURCE) Macro to convert Resource id into string.
|
|
|
|
 |
|
 |
Hello, I am a student and I am make my project with VC6 and MFC. I am a novate with VC6. I had inserted this code in my program. It run well, but when I close my program I had the next error:
Debug Assertion Failed!
program: my project
File:...\vc98\atl\include\atlwin.h
Line: 1903
I do not know ATL and I do not solve this problem. Anybody can help me?
Thanks,
Speaker
|
|
|
|
 |
|
 |
Hi. I too got the same error when I used this picturewindow object in an SDI (form view). This occurs because the window (view) gets destroyed before the picturewindow object, as you would have declared the picwnd object as a member of the view class. To avoid it, make the picwnd object global. However, this assertion failure would not have occurred in case of a dialog box application.
Hope this helps.
|
|
|
|
 |