Click here to Skip to main content
15,909,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get local ip address Pin
shakumar_224-Jan-08 17:18
shakumar_224-Jan-08 17:18 
AnswerRe: How to get local ip address Pin
David Crow4-Jan-08 17:46
David Crow4-Jan-08 17:46 
AnswerRe: How to get local ip address Pin
Hamid_RT4-Jan-08 18:01
Hamid_RT4-Jan-08 18:01 
Generalupgrading dbghelp.dll Pin
DevMentor.org4-Jan-08 9:20
DevMentor.org4-Jan-08 9:20 
GeneralRe: upgrading dbghelp.dll Pin
DevMentor.org4-Jan-08 9:49
DevMentor.org4-Jan-08 9:49 
QuestionText height in CRichEditCtrl Pin
DougVC4-Jan-08 7:24
DougVC4-Jan-08 7:24 
GeneralRe: Text height in CRichEditCtrl Pin
CPallini4-Jan-08 7:36
mveCPallini4-Jan-08 7:36 
GeneralRe: Text height in CRichEditCtrl Pin
Mark Salsbery4-Jan-08 8:26
Mark Salsbery4-Jan-08 8:26 
Since rich edit text can have different formatting, the number of
lines per page can vary.

The only reliable way I know is to format the text for the device it
will be printed on, then calculate how many rows.

With a combination of some of the code here[^] and the EM_EXLINEFROMCHAR
message, you should be able to calculate the number of lines per page.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionNeed some idea or const way to do this? Pin
Hakan Bulut4-Jan-08 7:16
Hakan Bulut4-Jan-08 7:16 
GeneralRe: Need some idea or const way to do this? Pin
Maxwell Chen4-Jan-08 7:26
Maxwell Chen4-Jan-08 7:26 
QuestionRe: Need some idea or const way to do this? Pin
CPallini4-Jan-08 7:39
mveCPallini4-Jan-08 7:39 
GeneralRe: Need some idea or const way to do this? Pin
Hakan Bulut4-Jan-08 10:05
Hakan Bulut4-Jan-08 10:05 
QuestionRe: Need some idea or const way to do this? Pin
CPallini4-Jan-08 10:11
mveCPallini4-Jan-08 10:11 
GeneralRe: Need some idea or const way to do this? Pin
Hakan Bulut4-Jan-08 10:51
Hakan Bulut4-Jan-08 10:51 
GeneralRe: Need some idea or const way to do this? Pin
CPallini4-Jan-08 11:02
mveCPallini4-Jan-08 11:02 
GeneralRe: Need some idea or const way to do this? Pin
Hakan Bulut4-Jan-08 22:00
Hakan Bulut4-Jan-08 22:00 
QuestionControlling CCriticalSection unlock order? Pin
Rob Caldecott4-Jan-08 5:04
Rob Caldecott4-Jan-08 5:04 
AnswerRe: Controlling CCriticalSection unlock order? Pin
led mike4-Jan-08 5:17
led mike4-Jan-08 5:17 
AnswerRe: Controlling CCriticalSection unlock order? Pin
peterchen4-Jan-08 6:30
peterchen4-Jan-08 6:30 
AnswerRe: Controlling CCriticalSection unlock order? Pin
Matthew Faithfull4-Jan-08 7:43
Matthew Faithfull4-Jan-08 7:43 
GeneralVideo libraries or controls Pin
dseverns54-Jan-08 4:59
professionaldseverns54-Jan-08 4:59 
GeneralRe: Video libraries or controls Pin
led mike4-Jan-08 5:22
led mike4-Jan-08 5:22 
GeneralRe: Video libraries or controls Pin
Mark Salsbery4-Jan-08 6:34
Mark Salsbery4-Jan-08 6:34 
QuestionRe: Video libraries or controls Pin
Hamid_RT4-Jan-08 18:12
Hamid_RT4-Jan-08 18:12 
GeneralMFC using WSAAsyncSelect to create asynchronous socket ... problem in creating hWnd [modified] Pin
drfankw4-Jan-08 4:38
drfankw4-Jan-08 4:38 

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.