 |
|
 |
If a large number of bitmaps are added and you scroll down. The images seems to be scrolling upwards! However the scrolling up behavior is correct.
This phenomenon depends on the Visual Effects of Performance Options of
Windows.
This phenomenon can be observed when this option is either
"Let Windows choose what's best for my computer" or
"Adjust for best appearance".
This phenomenon cannot be observed when this option is "Adjust for best
performance".
Any ideas how to fix this??
|
|
|
|
 |
|
 |
It is a bug with the animation of the listbox control and is dependent on the system visual effects settings.
If the "smooth-scroll list boxes" visual effects setting is checked (in XP this is located in System Properties | Advanced | Visual Effects | Custom...) AND the listbox is owner-draw, then the animation of the control gets screwed up. A hack I have used is to call SystemParametersInfo using the SPI_SETLISTBOXSMOOTHSCROLLING parameter to enable and disable this when the control gains and loses focus, respectively. You should reset the users visual effect settings back to the original state when the control loses focus.
|
|
|
|
 |
|
 |
Nice code, but on XP the drop down window is zero in height.
The bitmaps are added correctly and the control has the correct style attributes.
The images can be manually selected using the cursor keys, but not via the drop-down window with the mouse.
(Tried manually setting height of dropdown in the resource editor, no help)
Any ideas?
--
The Obliterator
|
|
|
|
 |
|
 |
For anyone interested, this is not actually an XP issue.
Its something to do with the window resizing library I'm using. It seems that when the lib moves/resizes this control it somehow upsets the dropdown height.
|
|
|
|
 |
|
 |
have problem here with combo box i have create a combo box with some value inside the combo box , then also have a button for user to click to it after they have choose the choice in the combo box ... then when the button clicked it surpose go to the accurate dialog page but it can't ....... thats the prolbem i face now 1. combo box with value a. main page (its a dialog) b. profile(its a dialog ) 2. button "go" beside the combo box 3. when user choose main page , n click the "go " button , the dialog for main page will show out .
|
|
|
|
 |
|
|
 |
|
 |
Hi,
I am trying to intergrate your control with the MFCGridCtrl Widget provide on this site. I've attempted to use the already existing CGridCellCombo class and replace references of CComboBox with your class.
I've managed to get it to create it but when I click on the dropdown list, this list shows then an exception is thrown.
I have tracked it down to the CComboEdit class that is subclassed by the cell. The subclassing fails and so when the ctrl is used an error occurs.
Do you have any ideas/tips that could help me on this.
Thanks in advance
Mark Hillary
|
|
|
|
 |
|
 |
How to delete the bitmap that I added?
|
|
|
|
 |
|
 |
I had a big problem with this, and this site came up in my search, so here was my answer:
Use Dispose().
I had a pointer to a bitmap so I used:
bmp->Dispose();
but you may need
bmp.Dispose();
-Myrkron
|
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi,
I want to add my bitmaps in place of existing *.bmp .
I created through Resource editor and I tried to
replace bitmaps It gives exceptions.
only one bitmap i can replace.
Can anyone tell me how to do it.
Rohini
|
|
|
|
 |
|
 |
I am haing the same problem.
Did anyone find a solution for that?
It just seems overkill to have to load the bitmaps from files, when we should be able to use the one on the resource file.
|
|
|
|
 |
|
 |
I'm having the same problem.
Can not add botmap from the resource file
|
|
|
|
 |
|
 |
CComboBoxEx shows bitmaps without having to do anything special
|
|
|
|
 |
|
 |
With this control, your items can be of a custom size. You'll have to do a little extra work with CComboBoxEx, and because the DrawItem() code is not exposed, simply overwriting the OnMeasureItem function may not work
|
|
|
|
 |
|
 |
Also ComboBoxEx doesn't support sort or selecting by typing first character of item
|
|
|
|
 |
|
 |
Even, the combo box works fine in a normal dialog. It doesn´t work when I put it in a
CDialogBar.
Why?how can i solve it?
|
|
|
|
 |
|
 |
i have also found this problem.
|
|
|
|
 |
|
 |
Same for me, and i'm on it. For now i'm unable to add string in it. I've try to derived my own class from CDialogBar... it was'nt better so if you find a way to solve this problem tell me more
|
|
|
|
 |
|
 |
so... the solution to you'r problem
go see theses Links and you'll find what to do
there you will find what to do whit you'r dialog bar, after that it will work very well.
http://support.microsoft.com/support/kb/articles/Q185/6/72.ASP
there you will find what to do whit you'r combo box
http://www.codeproject.com/combobox/combobox_tut.asp
You will be able to fix combo box problem in a CDialogBar
Rmorin
Rmorin@operamail.com
|
|
|
|
 |