|
hi all
i have a problem .
In Listbox by typing the first character of a selection the item can be selected
is it possible to restrict this property of list box
"Men never do evil so completely and cheerfully as when they do it from religious conviction"
-Pascal
|
|
|
|
|
chethu665 wrote: i have a problem .
In Listbox by typing the first character of a selection the item can be selected
is it possible to restrict this property of list box
Yes it's Possible..
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
how??????
"Men never do evil so completely and cheerfully as when they do it from religious conviction"
-Pascal
|
|
|
|
|
Can you be more specific a character?
whitesky
|
|
|
|
|
How may I know if the webpage is completely loaded or not in my CHTMLView in my SDI application? I use Navigate2(..) function to load the webpage.
Marcoslav
|
|
|
|
|
You can define a handler for DocumentComplete notification.
Alternatively, you can analyze the result of GetReadyState function.
Hope it helps.
|
|
|
|
|
hi,
It's nitin can anyone tell me how can i pass the string in BREW.
My problem is there are following function as ;
1)static boolean HelloWorld_HandleEvent(AEEApplet * pme, AEEEvent
eCode,uint16 wParam, uint32 dwParam);
2)int AEEClsCreateInstance(AEECLSID ClsId,IShell * pIShell,IModule*Mod,void ** ppObj)
so,where are to pass the string and under that string i pass under string string.so can i go.please help me out for that.
Thanks..............
Nitin dalal
nitin
|
|
|
|
|
actually which function do you want to use?
"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
Support CRY- Child Relief and You
|
|
|
|
|
hi alok'
whatever function is using. want to pass the string.i am trying from last 5 days but the problem is that code is build properly but i make projectname helloworld and under that i want to pass string but it give "this application has been unloaded to save memory.you must download a new version".and i download new version but the same thing.
Actually i make project helloworld and i want to pass any string in that through emulator.suppose my project is helloworld.so through emulator i want to pass any string under that name.so how can i go and that the process behind that.please help me out.
Thanks........
Nitin dalal
nitin
|
|
|
|
|
hi alok,
are u there.help me out for that.
nitin
|
|
|
|
|
Hello everyone,
I am meeting with a link error (compile is ok) when building an application with Microsoft embedded VC++ 4.0, using simulator. Here is the detailed message,
--------------------
Linking...
.\emulatorDbg\foo.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'ARM'
--------------------
What is the possible cause of this problem? Any suggestions to solve this problem?
thanks in advance,
George
|
|
|
|
|
: George_George wrote: I am meeting with a link error (compile is ok) when building an application with Microsoft embedded VC++ 4.0, using simulator. Here is the detailed message,
--------------------
Linking...
.\emulatorDbg\foo.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'ARM'
--------------------
What is the possible cause of this problem? Any suggestions to solve this problem?
Linker has a separate target processor option - MACHINE key, e. g.:
/MACHINE:IX86. Open Project->Settings, goto linker tab and make sure that
this key set the correct processor type in Linker options at the bottom of
the settings window.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Thank you man!
I am wondering what is the difference between module machine type and target machine type in this context?
regards,
George
|
|
|
|
|
|
vasusree wrote: i want that with respect to parent dialog.
please solve my problem,
Is ScreenToClient is of any help?
"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
Support CRY- Child Relief and You
|
|
|
|
|
ClientToScreen and ScreenToClient is the default API support provided windows.
I think you can convert the position using simple mathematical logic.
1. get parent screen pos
2. get client windows screen pos
4. take the difference.
5. get the current mouse point
6. add diff to the current points.
7. finally apply your logic
SaRath.
"Don't Do Different things... Do Things Differently..."
Understanding State Pattern in C++
|
|
|
|
|
it will work until we will not move the parent once we move the parent to other location it will not work,
vasu.
|
|
|
|
|
vasusree wrote: [Message Deleted]
why you deleted you message
"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
Support CRY- Child Relief and You
|
|
|
|
|
Wheres your question?
whitesky
|
|
|
|
|
I'm coding an application, but I can't write code ti save a file with "OnFileSave". So, how can show me a sample code to do it!! Thanks guys
|
|
|
|
|
You can use CStdioFile to Read/Write
<br />
char *pFileName="c:\\abc.txt";<br />
CStdioFile myfile;<br />
if( !myfile.Open( pFileName, CFile::modeCreate<br />
| CFile::modeWrite | CFile::typeText ) ) {<br />
<br />
You can also use CFile for the same
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
-- modified at 0:04 Monday 19th June, 2006
|
|
|
|
|
secddos wrote: I'm coding an application, but I can't write code ti save a file with "OnFileSave". So, how can show me a sample code to do it!!
Do you want to show the file Save/Load dialog on "OnFileSave" ??
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
secddos wrote: "OnFileSave"
Is this DOcumentView Based application or your Custom application!
"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
Support CRY- Child Relief and You
|
|
|
|
|
and one simple example
<br />
CFile m_File("c:\\text2.txt",CFile::modeCreate|CFile::modeWrite);<br />
<br />
TCHAR buf[120];<br />
m_File.Write(buf, lstrlen(buf));<br />
m_File.Close();<br />
whitesky
|
|
|
|
|
my code is below the messagebox never goes off so i know its not working am i missing something?
do i need to call it somehow ?
BOOL CMp3Dlg::OnEraseBkgnd(CDC *pDC)
{
AfxMessageBox("kik");
CPen myPen[64] ;
int i ;
CRect rect ;
for (i = 0 ; i <= 60 ; i++)
myPen[i].CreatePen(PS_SOLID, 1, RGB ((i * 4),(i * 4),(i * 4)));
CPen *oldPen = pDC->SelectObject(&myPen[0]) ;
GetClientRect(&rect);
for(i = 0 ; i <= rect.bottom;)
{
pDC->MoveTo(0, i);
pDC->LineTo(rect.right, i);
i++;
pDC->SelectObject (&myPen[i * 64 / rect.bottom]);
}
pDC->SelectObject(oldPen) ;
return TRUE ;
}
-- modified at 23:00 Sunday 18th June, 2006
|
|
|
|