Click here to Skip to main content
16,009,255 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to manipulate large numbers Pin
Omar Alvi3-Jul-03 9:45
Omar Alvi3-Jul-03 9:45 
QuestionScroll a CListCtrl? Pin
Dominik Reichl2-Jul-03 9:40
Dominik Reichl2-Jul-03 9:40 
AnswerRe: Scroll a CListCtrl? Pin
basementman2-Jul-03 9:57
basementman2-Jul-03 9:57 
AnswerRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 1:39
Ryan Binns3-Jul-03 1:39 
GeneralRe: Scroll a CListCtrl? Pin
Dominik Reichl3-Jul-03 3:45
Dominik Reichl3-Jul-03 3:45 
GeneralRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 4:03
Ryan Binns3-Jul-03 4:03 
GeneralRe: Scroll a CListCtrl? Pin
Dominik Reichl3-Jul-03 5:56
Dominik Reichl3-Jul-03 5:56 
GeneralRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 14:55
Ryan Binns3-Jul-03 14:55 
Dominik Reichl wrote:
I've done exactly what you said, plus I added 1 to the item size because it looks like Windows adds a one-pixel line as spacer

Nope, Windows doesn't add a pixel to it. It's the stupid calculation that GetHeight() uses: (bottom - top). The actual height should be (bottom - top + 1). A rectangle where top=0 and bottom=1 is actually 2 pixels high, but GetHeight() returns 1. I don't know why CRect was written this way, but it was.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralSelecting multiple CEdit Boxes Pin
K. Shaffer2-Jul-03 9:18
K. Shaffer2-Jul-03 9:18 
GeneralRe: Selecting multiple CEdit Boxes Pin
John R. Shaw2-Jul-03 11:16
John R. Shaw2-Jul-03 11:16 
GeneralRe: Selecting multiple CEdit Boxes Pin
Ryan Binns3-Jul-03 1:43
Ryan Binns3-Jul-03 1:43 
GeneralHaving some trouble subclassing dynamically created CButtons Pin
Flack2-Jul-03 8:57
Flack2-Jul-03 8:57 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
basementman2-Jul-03 9:38
basementman2-Jul-03 9:38 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Flack2-Jul-03 10:14
Flack2-Jul-03 10:14 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Ryan Binns2-Jul-03 16:08
Ryan Binns2-Jul-03 16:08 
QuestionCreate and Access Hardware? Pin
Selevercin2-Jul-03 8:28
Selevercin2-Jul-03 8:28 
AnswerRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 8:51
John M. Drescher2-Jul-03 8:51 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 9:13
Selevercin2-Jul-03 9:13 
GeneralRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 9:18
John M. Drescher2-Jul-03 9:18 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 10:01
David Crow2-Jul-03 10:01 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 10:54
Selevercin2-Jul-03 10:54 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 16:54
David Crow2-Jul-03 16:54 
GeneralRe: Create and Access Hardware? Pin
jhwurmbach3-Jul-03 1:19
jhwurmbach3-Jul-03 1:19 
AnswerRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 11:14
mentorTrollslayer2-Jul-03 11:14 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 12:33
Selevercin2-Jul-03 12:33 

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.