The BrowseParam member m_nRecordCountInc in the ODBC Grid defaults to 500.
If I do a multi-line paste of more than 500 records, the grid-throws an error.
Clearly, I can set the record count...
Type: Posts; User: Kyudos
The BrowseParam member m_nRecordCountInc in the ODBC Grid defaults to 500.
If I do a multi-line paste of more than 500 records, the grid-throws an error.
Clearly, I can set the record count...
Seems like OnLoadCellStyle is the place
Say I have values in my database in metres, and under certain flags I want to display them in the grid in feet.
Where would be the best / most appropriate place to do the unit conversions?
It...
I modified the example CGXIconControl to allow it to draw text as well as the icon. It works well, except that when the control refreshes - say when I select the column, my text disappears.
It...
We are finally replacing our DAO Grid with the ODBC one. Previously the DAO version would allow SQL that included JOINs to display in the grid and allow the results to be updated directly.
...
Nvm... found it CGXGridParam::SetDefaultComboBoxHeight
The list portion of my GX_IDS_CTRL_TABBED_COMBOBOX combo is too short. How do you set the list height / number of visible entries? It seems stuck at three lines...
Does any version of the Toolkit support DPI awareness? Or has anyone added this?
I'm currently finding that SEC3DTabWnd in 10.4 doesn't scale to text size, and that SECControlBar titles don't seem...
If you are trying this...
You also need to change the active/inactive fonts for CGXTabWnd and CGXTabBeam, and the font for CGXRecordInfoBeam, to something that supports the appropriate code page...
After recompiling I find that the behaviour of my app is mostly OK with changing to (see above):
BOOL bChanged = m_dwEditStyle != dwEditStyle;
I think the Combo drop down problem is because the...
This does appear to be something to do with RTL-ness, but I'm not sure if it's my problem or the Grids. It comes from the creation (and re-creation) of the Edit control when editing the cell.
When...
We are trying to enable Hebrew in our objective grids, which works well enough for fonts with a Hebrew code page (grrr! Segoe UI!). However, we are having problems with combo boxes giving...
I'm getting pretty good at answering my own questions!
In the OnLButtonDown handler I needed this:
BOOL bAlt = (::GetKeyState(VK_MENU) & 0x8000000L) ? TRUE : FALSE;
if...
OK, I've got most of the way there by deriving a class from SECWellButton and SECWndBtn, but it isn't fully customisable - I can't add my new toolbar well button to new toolbars or resize it. What...
I looked at this and found I can use SECBmpMgr to get at the HBITMAPS for my toolbars. Can I thence change the bits of the bitmaps directly? (I've got a popup colorwell to work on the button click,...
I solved this by making a new version of my classes based on the COMBO_BUTTON classes. Now I'd like to do the same with the colorwell - is there a way to put a colorwell button on the toolbar? Or do...
Is this example still available anywhere:
http://kb.roguewave.com/kb/?View=entry&EntryID=222&Msg=
Or is there a different / better way to do this?
I already have two custom combobox classes...
I found the problem - a shared button update routine had an uninitialized vairble, leading to screwy Release results.
I'm not sure if this is a Toolkit problem or and Objective Grid issue. I have an MFC app that uses Toolkit and Objective Grid to view an Access database. I've implemented Find / Replace / Find Next /...
OK - I think I may have tracked this down!
SECPopupColorWell::Create calls SECColorWell::Create with:
dwStyle|WS_POPUP|CWS_RAISED_BORDER
then SECColorWell::Create calls CreateEx with
...
I recently upgraded to the latest version (10.4) and changed to VS2010 (from VS6). Now my SECPopupColorWell based color selection buttons don't work because the CreateEx call in SECColorWell::Create...
Is there an easy way to include DAO grid classes when building Objective Grid 10.4?
I have a grid with a hidden 'type' column and I'd like to highlight certain ROWS in the grid based on the value of 'type'.
Where is the best place to do this?
At first I tried GetStyleRowCol,...