Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to enable (visiable) a CEdit before the dialog is displayed? Pin
Ryan Binns4-Jul-03 19:02
Ryan Binns4-Jul-03 19:02 
Generallinking with an mfc extension dll Pin
(Steven Hicks)n+14-Jul-03 13:46
(Steven Hicks)n+14-Jul-03 13:46 
GeneralRe: linking with an mfc extension dll Pin
valikac4-Jul-03 15:07
valikac4-Jul-03 15:07 
GeneralRe: linking with an mfc extension dll Pin
(Steven Hicks)n+14-Jul-03 17:19
(Steven Hicks)n+14-Jul-03 17:19 
GeneralRe: linking with an mfc extension dll Pin
(Steven Hicks)n+14-Jul-03 17:21
(Steven Hicks)n+14-Jul-03 17:21 
GeneralRe: linking with an mfc extension dll Pin
Kelly Herald7-Jul-03 6:06
Kelly Herald7-Jul-03 6:06 
GeneralExtracting records from file, but don't know how long records could be... Pin
IrishSonic4-Jul-03 13:26
IrishSonic4-Jul-03 13:26 
GeneralRe: Extracting records from file, but don't know how long records could be... Pin
David Crow4-Jul-03 13:40
David Crow4-Jul-03 13:40 
I did something almost exactly like this once except my data was not as variable. The format was:

WORD (record id)<br />
WORD (index)<br />
unlimited number of characters up to a \0 character<br />
WORD (record id)<br />
WORD (index)<br />
unlimited number of characters up to a \0 character<br />
WORD (record id)<br />
WORD (index)<br />
unlimited number of characters up to a \0 character<br />
...


So when the file pointer was at the beginning of the characters, I read something like 2,000 characters knowing that I would find the \0 character 99.99% of the time. Taking the difference between the two file positions, I knew the length of the data. I did all this via a memory-mapped file so it was very fast.
GeneralRe: Extracting records from file, but don't know how long records could be... Pin
IrishSonic4-Jul-03 13:57
IrishSonic4-Jul-03 13:57 
GeneralRe: Extracting records from file, but don't know how long records could be... Pin
David Crow7-Jul-03 4:19
David Crow7-Jul-03 4:19 
GeneralSize and Position Pin
Zak_4-Jul-03 12:33
Zak_4-Jul-03 12:33 
GeneralRe: Size and Position Pin
Michael Dunn4-Jul-03 13:09
sitebuilderMichael Dunn4-Jul-03 13:09 
Generaldealing with bi-directional association Pin
RK_20004-Jul-03 12:18
RK_20004-Jul-03 12:18 
QuestionIs it possible to manually resize a statusbar? Pin
clintsinger4-Jul-03 11:31
clintsinger4-Jul-03 11:31 
AnswerRe: Is it possible to manually resize a statusbar? Pin
Ryan Binns4-Jul-03 15:27
Ryan Binns4-Jul-03 15:27 
QuestionSetting GetAsyncKeyState() output? Pin
S O S4-Jul-03 11:09
S O S4-Jul-03 11:09 
QuestionSome tips for my first real application in VC++ ?? Pin
konac4-Jul-03 10:42
konac4-Jul-03 10:42 
AnswerRe: Some tips for my first real application in VC++ ?? Pin
Toni784-Jul-03 11:53
Toni784-Jul-03 11:53 
GeneralRe: Some tips for my first real application in VC++ ?? Pin
conac8-Jul-03 1:09
conac8-Jul-03 1:09 
QuestionWH_CALLWNDPROC global hook not receiving messages? Pin
S O S4-Jul-03 9:57
S O S4-Jul-03 9:57 
QuestionMulti colored text in CEdit box? Pin
Sorcia4-Jul-03 9:10
Sorcia4-Jul-03 9:10 
AnswerRe: Multi colored text in CEdit box? Pin
Maximilien4-Jul-03 9:20
Maximilien4-Jul-03 9:20 
GeneralRe: Multi colored text in CEdit box? Pin
adamUK4-Jul-03 9:25
adamUK4-Jul-03 9:25 
GeneralRe: Multi colored text in CEdit box? Pin
Maximilien4-Jul-03 9:47
Maximilien4-Jul-03 9:47 
AnswerRe: Multi colored text in CEdit box? Pin
adamUK4-Jul-03 9:24
adamUK4-Jul-03 9:24 

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.