473,473 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

lame problem :/

Im too new to work out how to do this.
i have
try {
Bitmap *logopic = new Bitmap(S"logopic.bmp");
e->Graphics->DrawImage(logopic, 0, 0, WINDOW_WI,
WINDOW_HI);
} catch (Exception* e) {
MessageBox::Show("Failed to load
logopic.bmp");
this->Close();
}

i want a
[code:1:43bc4086fd]private: Bitmap *logopic;[/code:1:43bc4086fd]
then
[code:1:43bc4086fd]logopic = new
Bitmap(S"logopic.bmp");[/code:1:43bc4086fd]
sorta thing
so that i dont have to creat a Bitmap then load the pic every time i
want to use it.
plz help :o
*---------------------------------*
Posted at: http://www.GroupSrv.com
*---------------------------------*

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 17 '05 #1
0 717

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

Similar topics

2
by: Rafal 'Raf256' Maj | last post by:
Hi, I have base class that defines function 'fun'. This function is overloaded - it can be used fr argument int or for const char* Function is virtual. Now I create a dervied class cB, and I...
2
by: Jan Winnicki | last post by:
i'm making console app, and its main menu looks like this: Main menu Option 1 Option 2 Option 3 user should hit eg 1 on keyboard to choose Option 1 etc
7
by: Gu | last post by:
hi to all again! well, if i have the simplest object: a=new Object() it seems i can't assign properties to it.. b.c="something" as when i say:
8
by: Dennis | last post by:
I am trying to decompress MP3 files to WAV using VB.Net. What I really need is a wrapper in VB.Net or C# that includes ALL of the Lame.Dll funcitons including those to decompress to a WAV File. ...
7
by: sbowman | last post by:
I have a completely lame string parsing question, but I need an answer fast and I know this is where to get it...I'm not completely familiar with the Len, Right, Left, and mid functions and I have...
2
by: craigkenisston | last post by:
So, I wanted to implement a very, very basic job posting capability to one of my website. I made some searches and I found there is a JOBS STARTER KIT !! Wow, "it's my lucky", I thought. I...
1
by: Harlin Seritt | last post by:
Is there any type of lame_enc.dll wrapper for Python that's available? Thanks, Harlin Seritt
1
by: Erik Jones | last post by:
So, I was just taking a look at doctest.py and saw this: Then running the module as a script will cause the examples in the docstrings to get executed and verified: python M.py This won't...
2
by: =?Utf-8?B?anVhbg==?= | last post by:
Hello: I have tried for weeks to use LAME in Windows. Can somebody tell me how to do it? I can't add a reference to the project (Visual Basic 2005). Thanks.
18
by: fshsoup | last post by:
If i write this $page = 'start'; for (;;) { include "$page.inc"; } and inside start.inc I put a "break;" it should work, right? no it doesn't. And why isn't there any "goto" statement in...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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...
1
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...
0
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.