|
I have CpopertySheet..WizardMode
and i'd like to hide back-button for one CPropertyPage of my sheet...and rename it for another
how can I do it?
|
|
|
|
|
NoName II wrote: and i'd like to hide back-button for one CPropertyPage...
Use the ShowWindow() method.
NoName II wrote: ...and rename it for another
Use the SetWindowText() method.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
how can I get access to te buttons?
|
|
|
|
|
From any of the tabs, use:
GetParent()->GetDlgItem(IDOK)->ShowWindow(SW_HIDE);
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All!
Where can I use VirtualAlloc() function?
Can I use it to create a virtual file system?
Can Anyone write me a link to find how an EXE works and how it uses virtual memory?
Thanks for any answer!!
|
|
|
|
|
Dennis L wrote: Where can I use VirtualAlloc() function?
Wherever you need to reserve a region of pages in the virtual address space of the calling process.
Dennis L wrote: Can I use it to create a virtual file system?
Yes, if your virtual file system needs to reserve a region of pages in its virtual address space.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi
i want to store Data in MS Access Database. The Data consists of 700 long values (i.e columns).
Since Access has Max Limit of 255 columns i want to store the data as BLOB in single column.
can anyone point me to some links or sample code which uses BLOB in MS Access??
thanx in advance
"At Bus Station Bus stops,At Railway Station Train Stops...At Workstation ...i need not tell..."
|
|
|
|
|
|
How can I show a warning(Control) dialog with standard library not MFC.
|
|
|
|
|
If you just want to show a warning message then you can use Platform SDK's MessageBox
::MessageBox(NULL, "My Message", "Box Caption", MB_OK|MB_ICONWARNING);
Refer, MessageBox[^]
|
|
|
|
|
Hi,can anyone help me out how to implement the threads?in the beginners level.
Regards
NooR
|
|
|
|
|
The MFC has as CWinThread class which helps you. Look for samples here and read the MSDN.
Greeting from Germany
|
|
|
|
|
yup i hve seen in msdn ..but i don get the examples..kindly will u provide me sum examples?
thx
NooR
|
|
|
|
|
Noor Akhter wrote: ..but i don get the examples..kindly will u provide me sum examples?
checkout
http://www.codeproject.com/threads/crtmultithreading.asp
http://www.codeproject.com/threads/Threads_1.asp
"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
|
|
|
|
|
NO!!! Write "CWinThread" in the Search Box up von den CP-Website and look yourself. I you want to learn programming you gotta learn this.
Greetings from Germany
|
|
|
|
|
Nice idea.....i did man.....but i don want bulitin function..i want to implemnt my own function..n how can i do this?
thx
NooR
|
|
|
|
|
Noor Akhter wrote:
Nice idea.....i did man.....but i don want bulitin function..i want to implemnt my own function..n how can i do this?
you want to create you own threading function... is that right!
"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
|
|
|
|
|
yup i want to create my own threads...n i cal the local function in it....is it possible? do reply//////
NooR
|
|
|
|
|
|
See here and here.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i don want dis....how to initialses and create the threads...can u provide me some examples at beg level?
Thx
NooR
|
|
|
|
|
I think a good and easy example is in MSDN Here[^]
whitesky
|
|
|
|
|
can v call local function in the thread..if it possible its not runing in my program..now wat to do?
NooR
|
|
|
|
|
I hope this helpful for you
HANDLE thread;
<br />
void CYourClass::Runthread()<br />
{<br />
DWORD ThreadID;<br />
thread=CreateThread(NULL,0,ThreadFunc,this,0,&ThreadID);<br />
}<br />
<br />
void ThreadFunc( LPVOID lpv )<br />
{<br />
CYourClass* m_Class = (CYourClass*) lpv;<br />
m_Class->Function();<br />
}<br />
<br />
void CYourClass::Function()<br />
{<br />
MessageBox("Test");<br />
}<br />
whitesky
|
|
|
|
|
The two articles I provided are at the elementary level. What part is troubling you? Threads are usually not something to be tackled by a beginner.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|