Hi Everyone :-),
(Incidentally, I also posted this plea in a Microsoft Newsgroup, I hope that doesn't annoy anyone? :-) )
I am having trouble understanding why the following method (invoked when I click the corresponding button in a dialog) is not drawing an image to the screen.
void...
Hi All,
I have written a program for which I wrote an object to mimic dynamic 2D arrays, using a single imension array, and it has been working fine.
However, in a newer part of the program, when the method GetXY is called (to get the value at a certain coordinate), a value of -1.#IND000000000...
Hi everyone,
How may one go about writing a buffer to a file in Big-Endian form rather than Little-Endian?
CString buffer;
buffer = 6;
WriteFile(myHandle, buffer, 2, &bWritten, NULL);
Gives (in hex):
06 00
How do we get:
00 06?
Any help most appreciated,
ASMD
Hi Everyone,
Thanks for all your help regarding other matters :-)
This is almost similar to a previous question, but different enough, I feel, to warrant a seperate thread...
If one was to open a modal dialog box (Dialog2) from another dialog box (Dialog1), is it possible to reference (and...
Hi Everyone :-)
In a modal dialog box, I wish to change the contents of one CEdit control each time the contents of another CEdit control are changed.
To do this, I created a function for the EN_CHANGE member function of the latter control as follows:
void test::OnChangeCedit2()
{
CString...
Hi Everyone :-)
Now imagine I am wishing to use a CSpinButtonCtrl to change the numeric contents of a CEdit control.
This is simple enough, of course, if I wish to increment/decrement the CEdit value by 1. Now suppose I actually wish to multiply the spin value by 5, i.e. show 5 for 1, 10 for...
Hi All :-)
Sorry to barge in here with yet another question...but this one surely IS trivial this time :-)
Having said that though, everything I expected to work either didn't or crashed.
The problem is this, I was two variables displayed inside a static text control, i.e:
var1 = 12; //could...
Hi All :-)
Surely this has been asked before, I would search but that particular facility appears to be permanently out-of-order.
What I am hoping to do is declare a 2-dimensional array with bounds according to two variables, such as:
int x = 50; // could be anything
iny y = 100; // could be...
Hi All :)
Sorry to bother you with something surely so trivial...
I am attempting to read the first 4 bytes of a file and ensuring that it reads "RIFF" (perhaps for obvious reasons).
I am using ReadFile to achieve this, the problem being that the buffer I read into seems to have an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.