|
If you are refering to how to use the print functions/spooler etc. Then here[^] is an excellent little tutorial for printing in non-MFC.
|
|
|
|
|
waldermort wrote:
If you are refering to how to use the print functions/spooler etc.
Which I wasn't.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
It's my job to make sense of people's bad English. It's starting to rub off on me now, My English was one of the best in Uni, now after teaching all this time I have come down to my student's level
|
|
|
|
|
I think you missed David's point which was (if I understood his post correctly) that HE wasn't referring to anything. He wasn't the one asking the question.
Of course, CodeProject often puts replies in the wrong place, so that could be why your reply to the original poster was attached to his reply.
((But I think I put my reply in the wrong place - it should have been in response to your second post in this thread! Ooops. ))
-- modified at 1:01 Friday 31st March, 2006
|
|
|
|
|
|
~RaGE();
|
|
|
|
|
finallyfinally
|
|
|
|
|
bang bang
|
|
|
|
|
"Sarah Connor ?"
~RaGE();
|
|
|
|
|
nop, rameshmahadevan... sorry
but it was the idea
|
|
|
|
|
|
Hello,
I would like to know, for joining two pixels in a bitmap.
As i have set of pixels, so i need to join them.
|
|
|
|
|
huh ?
pixels are independant entities ( if I may say so ); even in a bitmap.
what exactly are you wanting to do ?
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
I have set of cartesian coordinates, i plotted them on bitmap by using SetPixel(...);,
and so then i would like to join all the pixels.
|
|
|
|
|
like what, draw a line between those points ?
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
yes, to draw a line between those points
|
|
|
|
|
Hi chaitanya22 ,
Can you be more specific ? what do you need?
|
|
|
|
|
Doesw anybody knows if MS flexgrid supports user input?
I inserted it in project, but I didn't manage to enter any text in a cell. The control is not disabled. Setting cell text by .put_Text works.
|
|
|
|
|
i don't think that is possible with MSFlexGrid.
you could use CGridCtrl[^] for instant editing...
|
|
|
|
|
|
//in class defination
CWnd TempObject;
struct ControlObjects //Represents the dynamically created controls.
{
CWnd *WndObject;
}*ptrControlObjects;
//in member function
ptrControlObjects=(struct ControlObjects*)malloc(sizeof(struct ControlObjects)*numControls);
//necessary or it will give assertion in CreateControl.
for(int numWindObject=0;numWindObject<numcontrols;numwindobject++)
{
ptrcontrolobjects[numwindobject].wndobject="NULL;
}
//problem
ptrControlObjects[0].WndObject-">CreateControl("VALID PARAMETERS");
The above statement creates the control and displays it but not storing the object of the newly created control!! while...
TempObject.CreateControl("VALID PARAMETERS"); ...creates,displays and is able to store the object of the control!!
Can anybody please explain to me?
I want to have same behavior of the dynamic array of the controls(all the controls will be same)
Thanks.
|
|
|
|
|
Solved...
//necessary or it will give assertion in CreateControl.
for(int numWindObject=0;numWindObject{
ptrControlObjects[numWindObject].WndObject=new CWnd;
}
Thanks...
|
|
|
|
|
I'm streaming text into a richedit control usiong ES_STREAMIN, I am also catching the EN_CHANGE for this control in an attempt to implement an auto save feature and an undo/redo feature.
Here is a small sample of the code:
if (strlen(Awaiting))
return -1;
if (RichEdit_SetRTF(hEdit,lpszstr) ) {
ClrHistory();
I have set a breakpoint on each line of that code, aswell as the EN_CHANGE message. All runs in order until the Richedit callback, before proceeding to the next line, the EN_CHANGE is trapped. i.e. We send the text, and everything waits until the EN_CHANGE has been processed.
Problem is, I am not yet ready to process this message. If this is too easy i appologise in advance.
|
|
|
|
|
waldermort wrote: Problem is, I am not yet ready to process this message
I do not think I have understood what your problem exactely is. What is it that you do not want ?
~RaGE();
|
|
|
|
|
I couldn't understand why the EN_CHANGE message was being sent and processed before I had completed that particular function. I guess it was being sent from the control as a SendMessage instead of a Postmessage.
I was not ready to process it since after setting the control text I needed to set some flags and fill some buffers. This was causing my EN_CHANGE handler to process the wrong information.
I have managed to overcome it by setting a few flags and sending a custom message. I now have a fully working auto save/redo/undo/IME-compatible edit box. Guess in future I should never trust exactly when a windows message will be sent.
|
|
|
|