|
|
Tow FormView translate, each formView has different splitter,how to do it ? How to hide scrollbars from formView? How to not only resize but also hide/show comboBox control in a formView?
I can finish if I think!
I can do it for my best if I love!
music and football and computer and chinese chess of my all!
|
|
|
|
|
for enable or disable Scrollbar use
EnableScrollBar( SB_BOTH,ESB_DISABLE_BOTH);
and I think for show or hide use
ShowScrollBar(SB_BOTH,FALSE);
and you have splitter or you want to create splitter
-- modified at 11:10 Friday 10th March, 2006
|
|
|
|
|
thank you ,if you have ideas others ,please tell me!
I can finish if I think!
I can do it for my best if I love!
music and football and computer and chinese chess of my all!
|
|
|
|
|
you're welcome BigPig.
But whats the question? Splitter or Scrollbar or resize or comobox?
I dont know!?
|
|
|
|
|
can a FOr loop be incremented twice at a time?
such as for(i=1; i<=100;i+2)..
as i need to have only odd numbers. Is it correct?
|
|
|
|
|
chaitanya22 wrote: such as for(i=1; i<=100;i+2)..
should be :
for(int i=1; i<100; i+=2){}
Regards,
Nish
|
|
|
|
|
chaitanya22 wrote: such as for(i=1; i<=100;i+2)..
Hello chaitanya
for(inintializer;condition;incrementer)
Here in place of incrementer you can put any statement regards of assigment statement.
It is not require that you use only a variable that is use in initializer place. C design a very rich for loop as you never seen before.
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
You can even have multiple items in your loop, such as:
for (int i = 2, j = 3; i < 5 && j < 10; i++, j+=3)
da Big_R
|
|
|
|
|
or...
int b=0,c=0,q=60,_=q;for(float i=-20,o,O=0,l=0,j,p;j=O*O,p=l*l,
(!_--|(j+p>4)?fputc(b?q+(_/3):10,(i+=!b,p=j=O=l=0,c++,stdout)),
_=q:l=2*O*l+i/20,O=j-p+o),b=c%q,c<2400;o=-2+b*.05);
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
Chris Losinger wrote: int b=0,c=0,q=60,_=q;for(float i=-20,o,O=0,l=0,j,p;j=O*O,p=l*l,(!_--|(j+p>4)?fputc(b?q+(_/3):10,(i+=!b,p=j=O=l=0,c++,stdout)),_=q:l=2*O*l+i/20,O=j-p+o),b=c%q,c<2400;o=-2+b*.05);
Ohh God! What will Happen to parsers
"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
|
|
|
|
|
If you do not want to make your for loop look anything other than the ordinary, but still want to skip processing the evens, use the continue keyword...
for( i = 1; i <= 100; i++ )<br />
{<br />
if( i % 2 == 0 ) continue;<br />
}
Koushik Biswas
|
|
|
|
|
While this code works, it might not be as intuitive, and more importantly, efficient as:
for (int i = 0; i < 100; i += 2)<br />
{<br />
}
Might not be important for small loops, but an extra if and % op can add up in big loops.
- delete that;
|
|
|
|
|
Hi chaitanya,
I hope the below link helps u.
http://www.its.strath.ac.uk/courses/c/
Chetan.
Helping others satisfies you...
|
|
|
|
|
Hi!
My app used to work fine on another computer when I was using VS2k3 but since I've been using VS2k5-MFC8 my app just won't start!
I used Dependency Walker to see what was going on and I got this error:
Error: The Side-by-Side configuration information in "c:\myapp.EXE"
I did put all the required files in the folder:
mfc80.dll
mfc80u.dll
mfcm80.dll
mfcm80u.dll
msvcr80.dll
I think this is related to the new manifest file used by Windows to know which dll version your app is using but right now I'm really stuck. I also tried to statically link to MFC with no luck.
Anyone can help me?
Luc
|
|
|
|
|
In your Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\vcredist_x86 folder, there should be a file called vcredist_x86.exe. Run it on the other machine.
|
|
|
|
|
Create a file called "myapp.exe.local" in the same dir as myapp.exe. That will make the DLL loader look in that directory first.
(On second thought, I don't know if the .local file overrides the SxS system. Try it and see)
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
need general knowledges of barcode.
1) do all countries in the world prefer one special barcode format? if yes, what is that?
2) do all shops and factories in one specified country prefer one special barcode format? if yes, what is that?
3) can barcode readers (i.e. used in shops) read multiple barcode formats?
thx
A nice tool for optimizing your Microsoft html-help contents.
Includeh10
|
|
|
|
|
includeh10 wrote:
1) do all countries in the world prefer one special barcode format? if yes, what is that?
While the UPC is the most popular, the government uses Code 39, books and periodicals use EAN-13, shipping cartons use Code 128 or Interleaved 2 of 5, PDF417 and DataMatrix are used when damage is a possibility.
includeh10 wrote: 3) can barcode readers (i.e. used in shops) read multiple barcode formats?
Yes, hence the name "barcode reader" versus "UPC reader."
"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
|
|
|
|
|
hi,
thanks. it sounds u r very special in barcode.
do all barcodes have same size in height (and width?), so barcode readers can read formats properly?
what does UPC stand for?
can you give me some good links to study? google offers too many links to choose.
A nice tool for optimizing your Microsoft html-help contents.
Includeh10
-- modified at 13:26 Friday 10th March, 2006
|
|
|
|
|
includeh10 wrote: do all barcodes have same size in height (and width?),
No, not at all. The size is determined by several factors like how much room in the paper can be devoted to it, how far away the scanner will be. As long as the barcode is formatted properly, and it is within rage of the scanner, it should be able to be read.
includeh10 wrote: what does UPC stand for?
Universal Product Code.
includeh10 wrote: can you give me some good links to study? google offers too many links to choose.
It all depends on what in particular you are looking for. Here is a starting point.
"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
|
|
|
|
|
Only want to say thanks again.
I will learn from ur link soon.
cheers.
A nice tool for optimizing your Microsoft html-help contents.
Includeh10
|
|
|
|
|
Does anyone know how to set the color of the scrollbar of a listbox. I'm using win32. I've already tried several WM_CTLCOLOR... messages, but this did not work.
Changing the colors of buttons and other controls works fine.
Ward
|
|
|
|
|
|
But what about the detours library it uses...?
- NS -
|
|
|
|