|
You need a newer version of the SDK files.
Give Google a try sometime!
#define WM_XBUTTONDOWN 0x020B
#define WM_XBUTTONUP 0x020C
#define WM_XBUTTONDBLCLK 0x020D
#define MK_XBUTTON1 0x0020
#define MK_XBUTTON2 0x0040
Bikram Singh
|
|
|
|
|
I'll give google a try, worry not
Thanks again Bikram, you are the man.
Be well.
|
|
|
|
|
Hello,
I've the following problem, I like to have to system-wide keyboard shortcuts
(I know how to do that) that to the follwowing thing:
If I press shortcut_1 I like to copy the actual Excel cell-data into the clibboard
change to my application and paste it there.
If I press shortcut_2 I like to copy the actual data from my application and paste
it into the actual excel cell.
How to I automate Excel to achive my goals.
Thank you
Mario
|
|
|
|
|
I think visual basic would allow you to achieve your goals more easily. vb6 is the best to use, you can create extended functions to their tools to improve their use-ability. If you have bought microsoft visual studio package, you'll find it with that.
|
|
|
|
|
char open[80];<br />
<br />
cin >> open;<br />
<br />
if(open != "!")<br />
{<br />
}
when I type ! for open it still does whatever is in the if statement...
PLZ help!!!
THX
|
|
|
|
|
chars (null terminated strings) are being compared with strcmp . This will return 0, when the strings compared are equal.
if(strcmp(open, "!") == 0)
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
THX for the quick reply (under 1 minute after posting)
|
|
|
|
|
also try this
if(open != '!')
{
// Do something here
}
|
|
|
|
|
If you used open[0] it would look at the first element of the array which is what I suspect you wanted. Using open simply uses the poitner to the start of the array.
Elaine
The tigress is here
|
|
|
|
|
why my programcompiles but crash
could someone show me the steps
i have the 4 images that am gonna use
dia::ins()
{
CBitmapButton* blah;
}
help please thanks
|
|
|
|
|
|
Check out my Example 12 at my MFC EXamples page at www.railjonrogut.com
Rail
|
|
|
|
|
does it work for Bitmap with lots of colors like
thoses the resource editor cant open ?
|
|
|
|
|
Hi there,
Suppose you have lost Classwizard's data about some of the classes on your project, how do you rebuild ClassWizard's information?
|
|
|
|
|
Delete .CLW file.... then launch class wizard and it will let you add the files again
Jaime
|
|
|
|
|
Gracias amigo!
dNimrod#X
________________________
|
|
|
|
|
How do I make a specific word inside an list box green?
Source Code:
--------------------------------------------------------
CString tempString = "";
tempString.Format("You currently have $%s%d with you.", tempString, cash);
CListBox * tempBox = (CListBox *)(this->GetDlgItem(IDC_LIST));
tempBox->AddString(tempString);
--------------------------------------------------------
I want the word you to be green, what do I do?
Thanks.
|
|
|
|
|
|
I've already looked at that tutorial. The problem is I already have a list box set up, and if I try to change it to fixed or variable, my messages won't show up.
Is there like a command like colorRGB[255,123,210]
Uhh, thanks.
|
|
|
|
|
XP says that you have to have a username and PASSWORD(blank won't do) to be able to schedule a task
if i specify a blank password task won't saying that a blank password was given
if i don't specify username and password task still wont run
but at the same time i have norton antivirus installed it has two task both of them running and that too without password and user name
what do i do
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
http://www.mastishk.com
|
|
|
|
|
|
how can i calculate the acctuale size of a certain CString object in bytes
|
|
|
|
|
??
Is this kinda what u mean:
CString m = "a";
int size = sizeof(m) + m.GetLength() + 1; //1 for null
size will contain '6' bytes...
(4 for the internal pointer it maintains, + 1 for the "a", plus 1 for the null byte...)
Bikram Singh
|
|
|
|
|
CString s are unicode objects (each character occupied 2 bytes). Also, as I understand it, the size of a CString object is fixed, regardless of the length of the string, since memory required to store the string is obtained from the heap.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Ravi Bhavnani wrote:
CStrings are unicode objects (each character occupied 2 bytes).
Possibly, but only with the UNICODE directive turned on i should think..
Ravi Bhavnani wrote:
Also, as I understand it, the size of a CString object is fixed, regardless of the length of the string
True, since CString contains only one pointer data member. But, Abdu's question was a bit vague ("actual size" was unclear to me, so i took a wild guess).
Bikram Singh
|
|
|
|