Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInsert data Pin
With_problem5-Nov-06 17:26
With_problem5-Nov-06 17:26 
QuestionOpenPrinter error Pin
Archyami5-Nov-06 17:09
Archyami5-Nov-06 17:09 
AnswerRe: OpenPrinter error Pin
Waldermort5-Nov-06 18:11
Waldermort5-Nov-06 18:11 
AnswerRe: OpenPrinter error Pin
Hamid_RT5-Nov-06 18:39
Hamid_RT5-Nov-06 18:39 
GeneralOwner drawn status bar and the sizegrip [modified] Pin
PJ Arends5-Nov-06 16:09
professionalPJ Arends5-Nov-06 16:09 
GeneralRe: Owner drawn status bar and the sizegrip Pin
Nibu babu thomas5-Nov-06 18:15
Nibu babu thomas5-Nov-06 18:15 
GeneralRe: Owner drawn status bar and the sizegrip Pin
Waldermort5-Nov-06 18:21
Waldermort5-Nov-06 18:21 
GeneralRe: Owner drawn status bar and the sizegrip Pin
PJ Arends5-Nov-06 21:51
professionalPJ Arends5-Nov-06 21:51 
waldermort wrote:
My guess is that you need to subtract from the rectangle provided to DrawItem() the width of the gripper, leaving space to draw the gripper.


Yeah, I figured I could do something like that, but then I need to know if the gripper is over my pane, and what size is the gripper so I know how much to take off. I could calculate it based on what it is on my system, but a differnt OS might have a different sized gripper.

I was hoping someone could tell me what flag I missed when creating the statusbar control so that the rect passed to the DrawItem function would already take the size grip into consideration. Would make things a lot easier.

waldermort wrote:
From the picture I see you also have a progress bar, you should also resize that otherwise it is going to get clipped also.


It's not really a progress bar. It is actually just a bitmap that I use to simulate a progress bar control. The problem is that I want it clipped, but that is just not happening right now.D'Oh! | :doh:



You may be right
I may be crazy
-- Billy Joel --


Within you lies the power for good, use it!!!

QuestionFTP REST command Pin
rayong5-Nov-06 6:53
rayong5-Nov-06 6:53 
AnswerRe: FTP REST command Pin
kakan5-Nov-06 19:21
professionalkakan5-Nov-06 19:21 
GeneralRe: FTP REST command Pin
rayong5-Nov-06 22:23
rayong5-Nov-06 22:23 
QuestionVS2005 Preprocessor quirks [modified] Pin
#realJSOP5-Nov-06 3:41
professional#realJSOP5-Nov-06 3:41 
AnswerRe: VS2005 Preprocessor quirks Pin
Sceptic Mole5-Nov-06 8:17
Sceptic Mole5-Nov-06 8:17 
GeneralRe: VS2005 Preprocessor quirks Pin
#realJSOP5-Nov-06 23:52
professional#realJSOP5-Nov-06 23:52 
AnswerRe: Modal floating controlbar Pin
Nibu babu thomas5-Nov-06 18:12
Nibu babu thomas5-Nov-06 18:12 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas13-Nov-06 21:22
Nibu babu thomas13-Nov-06 21:22 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas14-Nov-06 16:26
Nibu babu thomas14-Nov-06 16:26 
QuestionRussian Project [modified] Pin
Hadi Dayvary4-Nov-06 23:59
professionalHadi Dayvary4-Nov-06 23:59 
AnswerRe: Russian Project Pin
A_Fa5-Nov-06 0:10
A_Fa5-Nov-06 0:10 
AnswerRe: Russian Project Pin
Waldermort5-Nov-06 0:11
Waldermort5-Nov-06 0:11 
GeneralRe: Russian Project Pin
Hadi Dayvary5-Nov-06 0:44
professionalHadi Dayvary5-Nov-06 0:44 
GeneralRe: Russian Project Pin
Waldermort5-Nov-06 1:29
Waldermort5-Nov-06 1:29 
QuestionCalculating free space Pin
Waldermort4-Nov-06 22:42
Waldermort4-Nov-06 22:42 
AnswerRe: Calculating free space [modified] Pin
Stephen Hewitt5-Nov-06 11:47
Stephen Hewitt5-Nov-06 11:47 
GeneralRe: Calculating free space Pin
Waldermort5-Nov-06 18:09
Waldermort5-Nov-06 18:09 

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.