|
might be your string pointer is deleted before the call to destructor
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
i don't understand.
can u just elaborate
|
|
|
|
|
How are you using these CString variables?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Hey David, dropped the underlines ? Where is David ?
~RaGE();
|
|
|
|
|
It was simply time for a change. I was trying not to get too eccentric.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
CString strVarName;
CString strLine = <sometext>;
strVarName = strLine.Mid();
thats how it is.
|
|
|
|
|
mails_aphale wrote: CString strLine = ;
Aside from this, I see nothing strange. Have you compiled the project in Debug mode and started it via F5? If you have memory-related issues, they will show up in the debug output window.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Hello!
I have a dialog based MFC application with "Style: Popup" and "Border: None". So the system menu, title bar, minimize box, maximize box are not displayed. Also the "Caption" edit is disabled. I want to set a title for the application to be displayed in the taskbar since with the above mentioned settings it only displays the icon.
How can I set the title?
Thanks,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
SetWindowText()
SkyWalker
|
|
|
|
|
I wasn't expecting it to be so simple, but hey, I don't mind.
thanks a lot.
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
Hi,
I have to display a window with top pane displaying a richtext edit control and bottom one displaying msflexgrid.
I added two controls(rich text edit control and msflexigrid).
Created two views.
Added a variable(rich text) for the first view.
Added a variable(msflexigrid) for the second view.
In mainframe.cpp in oncreateclient
i created a static splitter and createdviews with the two views.
But none of the splitter window(view?) is displaying activex control.
What should i do.
Regards,
|
|
|
|
|
Take care of the z-order of the windows. The farther is "less" visible.
SkyWalker
|
|
|
|
|
Thank you. It worked. But a small problem.
The top pane/view contains richtext edit control. on CSize of View function i added code to adjust richtext edit control position. This is working fine.
But the bottom pane/view contains msflexgrid. on CSize of View function i added code to adjust msflexigrid control position. This is not working i mean it is in the initial position of (0,0,0,0). What property of msflexigrid control should be set or is it the intended behaviour of msflexigrid control.
Regards
-- modified at 23:29 Tuesday 18th October, 2005
|
|
|
|
|
|
Hi,
I don't now the number of columns in advance for a msflexigrid. How to compute the columns dynamically and pass to the function setcols.
|
|
|
|
|
|
Hello!
i'm trying to change the contrast of my windows CE 4.2 device.
After some search on the net i found some methods to change the contrast,
all based on ExtEscape() function. Unfortunately ExtEscape always returns 0
on my device, no matter what escape code i pass to it.
This is a snapshot of my code:
bool SetContrast(int nParam)
{
ContrastCmdInputParm ContrastParm;
int rc, fQueryEsc;
fQueryEsc = CONTRASTCOMMAND;
HDC hdc= GetDC(NULL);
rc = ExtEscape (hdc, QUERYESCSUPPORT, sizeof (fQueryEsc),
(LPSTR)&fQueryEsc, 0, 0);
if (rc == 0) {
// No support, fail.
ReleaseDC (NULL, hdc);
return false;
}
ContrastParm.command = CONTRAST_CMD_SET;
ContrastParm.parm = nParam;
int nCode= ExtEscape(hdc, CONTRASTCOMMAND, sizeof(ContrastCmdInputParm),
(LPCSTR)&ContrastParm, 0, NULL);
ReleaseDC(NULL, hdc);
return (nCode > 0);
}
This function always fail with no support.
Can anyone help me?
|
|
|
|
|
I am new to WinCE & want to start up fast
i have 1+ exp in VC++.
Can u suggest me some good online reference
if u have some ebooks thats great pls send me
I am plaining a project on VOIP in WinCE
U r reply is importent to me
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
I am new to WinCE & want to start up fast
i have 1+ exp in VC++.
Can u suggest me some good online reference
if u have some ebooks thats great pls send me
I am plaining a project on VOIP in WinCE
U r reply is importent to me
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi all
I have an EXE crashing . But I can not use map files as the EXE is not produced from VC++ envt . This is already produced EXE so how can I find out the entry point of crash from the EXE ?
redindian
|
|
|
|
|
Did you try WinDbg[^]? It's not very easy to use, it's a command line debugger, but it might offer you valuable clues to debug the problem.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
dear sir,
i want to change background color of push buttons in my MFC program .how to change clor of buttons at run time
|
|
|
|
|
|
Iain Clarke wrote: Do a search for OnCtlColor in msdn, and it will even give sample functions.
Sorry For Correcting you Sir, You can't Paint PushButton using OnCtlColor Handller
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
aloktambi wrote: i want to change background color of push buttons in my MFC program
You have to Create Owner Drawn Button PLUS Handle CButton::DrawItem(...)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|