Click here to Skip to main content
16,011,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSeraching a key(s) in ODBC Pin
Scozturk20-Jun-03 8:28
professionalScozturk20-Jun-03 8:28 
GeneralRe: Seraching a key(s) in ODBC Pin
Jeremy Falcon20-Jun-03 9:18
professionalJeremy Falcon20-Jun-03 9:18 
GeneralRe: Seraching a key(s) in ODBC Pin
Scozturk20-Jun-03 23:15
professionalScozturk20-Jun-03 23:15 
Questionhow to read first 4 bytes of the file in hex?? Pin
pnpfriend20-Jun-03 8:02
pnpfriend20-Jun-03 8:02 
AnswerRe: how to read first 4 bytes of the file in hex?? Pin
David Crow20-Jun-03 8:13
David Crow20-Jun-03 8:13 
AnswerRe: how to read first 4 bytes of the file in hex?? Pin
Johnny ²20-Jun-03 8:15
Johnny ²20-Jun-03 8:15 
AnswerRe: how to read first 4 bytes of the file in hex?? Pin
Dominik Reichl20-Jun-03 9:02
Dominik Reichl20-Jun-03 9:02 
GeneralDC size constraints Pin
alex.barylski20-Jun-03 7:21
alex.barylski20-Jun-03 7:21 
Using the same control as I mentioned previously...i've drawn the gridular type control using a for loop...starting from a start index and ending at the maximum number of items that can possibly be shown...this method works, but has caused a couple bugs here and there...

While writting that code it dawned on me that the control would probably work with one big scrollable DC...basically starting from the very beginning and painting right to the end...sure this is a little less efficient as a smart for loop which only paint items that are visible to users, but atleast you only have to paint once and scroll or resize as you feel fit. I guess the control would require redrawing when an item changed, but that could be optmized nicely...so it seems like it's the proper solution...if i'km thinking correctly...I wouldn't have to use double buffering techniques either cuz well i'd basically be doing that anyways...drawing to a bitmap and drawing the bitmap to the display...when everything is done...

ANyways...does this sound like a reasonable solution for a grid control that would never get that many rows or cols...???

How big can DC's grow...are the restricted to screen size or can they grow using a virtual space technique???

Again..thanks for the help

Cheers Smile | :)

"Two wrongs don't make a right, but three lefts do!" - Alex Barylski Smile | :)
GeneralRe: DC size constraints Pin
Ryan Binns20-Jun-03 16:22
Ryan Binns20-Jun-03 16:22 
GeneralFont rotation question Pin
alex.barylski20-Jun-03 7:14
alex.barylski20-Jun-03 7:14 
Generalchange text color of a disabled CComboBox Pin
tomc20-Jun-03 7:00
tomc20-Jun-03 7:00 
GeneralRe: change text color of a disabled CComboBox Pin
alex.barylski20-Jun-03 7:07
alex.barylski20-Jun-03 7:07 
GeneralRe: change text color of a disabled CComboBox Pin
basementman20-Jun-03 9:06
basementman20-Jun-03 9:06 
GeneralGetting Started Pin
DaveB11th20-Jun-03 6:48
DaveB11th20-Jun-03 6:48 
GeneralRe: Getting Started Pin
David Crow20-Jun-03 7:18
David Crow20-Jun-03 7:18 
GeneralRe: Getting Started Pin
DaveE9th20-Jun-03 16:03
DaveE9th20-Jun-03 16:03 
QuestionIn a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
ElizabethC20-Jun-03 6:47
ElizabethC20-Jun-03 6:47 
AnswerRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
David Crow20-Jun-03 7:21
David Crow20-Jun-03 7:21 
GeneralRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
ElizabethC20-Jun-03 7:34
ElizabethC20-Jun-03 7:34 
GeneralRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
David Crow20-Jun-03 7:47
David Crow20-Jun-03 7:47 
GeneralRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
ElizabethC20-Jun-03 8:21
ElizabethC20-Jun-03 8:21 
GeneralNo idea where to start to find this bug... Pin
RobJones20-Jun-03 5:24
RobJones20-Jun-03 5:24 
GeneralRe: No idea where to start to find this bug... Pin
valikac20-Jun-03 5:30
valikac20-Jun-03 5:30 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 5:34
RobJones20-Jun-03 5:34 
GeneralRe: No idea where to start to find this bug... Pin
valikac20-Jun-03 5:47
valikac20-Jun-03 5:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.