|
Please mention some thing about wat language u r using???
do u mean controls in MFC dialg based application???
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
GetDlgItem(IDC_MY_CONTROL)->ShowWindow(SW_HIDE);<br />
GetDlgItem(IDC_MY_CONTROL)->ShowWindow(SW_SHOW);
|
|
|
|
|
also to move controls
BOOL MoveWindow( int x, int y,int nWidth, int nHeight, BOOL bRepaint = TRUE )
or
SetWindowPos ( const CWnd* pWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
say this to the OP... i didn't ask the question.
|
|
|
|
|
Whats in my mind is, he can also see the answer from here naaa???
I just want to add my point with your answer.
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
sure
|
|
|
|
|
Yes you can change the position of a control at runtime.
See MoveWindow()
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
See
<br />
MoveWindow(...)
ShowWindow(SW_SHOW or SW_HIDE) for visible or not<br />
|
|
|
|
|
POSITION pos = TouchAreaList->GetHeadPosition();
while (pos != NULL)
{TouchAreaList->GetNext(pos);}
wt next...
i want a seperate pointer to point to a specific node in this list how to do that. pos will traverse alright but i want modify the data in a particular node how to do it???
-- modified at 4:42 Monday 31st July, 2006
|
|
|
|
|
<br />
POSITION pos;<br />
Item *pNode;<br />
<br />
for ( pos = GetHeadPosition(); pos != NULL; )<br />
{<br />
pNode = (Item *)GetNext( pos );<br />
if ( pNode )<br />
{<br />
}<br />
}<br />
cje
|
|
|
|
|
hi
Can someone give me a link which contains the comprehensive list of Format Specifiers for all data types including Double,Byte,LPSTR etc.??
Thanx in advance
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
See MSDN
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
|
QuickDeveloper wrote: Format Specifiers
what does this mean ?
what do you want exactly, you wanna know how the bits are interpreted knowing a kind of type ?
|
|
|
|
|
|
toxcct wrote: what does this mean ?
I meant like %d for int,%ld for long double etc
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
this all depends on the function you use.
printf() for example, will have some specifiers, and CString::Format() too, but as they are different functions, they may implement them in different ways. what you have to do is to search for the function you want to use :
in the printf()[^] doc, you see a Format Specifications[^] link. then, see what you want there
|
|
|
|
|
toxcct wrote: printf() for example, will have some specifiers, and CString::Format() too, but as they are different functions, they may implement them in different ways.
For example?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
printf(), scanf(), CString()... each function hardcode the format they understand, so even if they are same, they may differ... that's why i suggested him to read the doc of the function he's using first...
|
|
|
|
|
Then why does CString::Format() refer to printf() for a description of the format and arguments? If they differed, this would not be the case.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
that was a supposition. BTW, Format() refers to printf() in the doc, but not in the code.
|
|
|
|
|
|
QuickDeveloper wrote: ,%ld for long double
%ld would be used by a long int .
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All,
Is there anyway in Visual Studio 6 or VS 2003 to view a variable's value in binary format?
|
|
|
|
|
Sarath. wrote: a variable's value in binary format?
if u r looking for the variable value while debugging , then in the QuickWatch window you can select HexaDecimal Display.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|