@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12



Comments:

<0> the whistler thing
<1> the video?
<1> yeah
<0> i remember seeing is a long time ago heh
<1> that's in Oakland
<1> but, still, watching that guy try to drive his car
<2> holospoof, GetWindowRect() ?
<0> haha yea i remember
<0> he almost front on collided with someone



<0> the girl was driving i think
<3> GetWindowRect() is the position on the entire screen
<3> this window is a child window and is only displayed in the parent window
<3> so when specifying 0,0 as its x and y, its in the top left corner of the program, not the screen
<2> and GetClientRect() ?
<3> get client rect is the rectangle structure of the child, x and y always zero, only width and height are gathered
<3> brb
<3> yeah i think im going to have to make comparisons on both the child and the parent to get the right x and y
<1> whoever is driving
<1> they're not keeping the car in their lane
<1> and if you look
<1> they blow a stop sign
<2> holospoof, lookup ScreenToClient or MapWindowPoints
<1> he's all over the road
<4> |-|OuSy STL containers make _copies_
<1> I mean, that's straight out of a comedy style bad driving.
<2> this will translate your Rect retreived by GetWindowRect
<1> his alignment must be way out of whack
<1> he keeps pulling hard left.
<0> Noidea yeah lol, they were just showing off for the camera
<5> heh a commercial to consult the bible to find true love
<5> awesome
<5> holospoof, weren't you the one asking questions about how to declare a function prototype with a pointer, and now you've graduated to Windows API programming?
<5> don't you think that's a tad much?
<3> lol
<3> peterhu im leet, betta recognize
<5> indeed
<3> I have a child window, which position is being saved on exit.. the only problem is its a child to the main window. so the x and y that is being saved on exit, when it runs again places the window in a different place relative to the parent.. and MapWindowPoints() just messes it up more
<2> did you try ScreenToClient?
<3> yeah that works but its offset is -3, -19.. its not taking into effect the window properties, know how?
<3> because i hav ea menubar
<5> boooooo BSG season finale part 1 is friday
<3> whats BSG
<2> that will be the window border and title



<5> battlestar galactica
<3> yeah, i know theres a function that modifies a RECT structure to the window properties i just cant remember which function it is
<2> holospoof, you could lookup SystemParametersInfo and GetSystemMetrics
<3> theres a function that does that for you though.. trying to find it
<2> holospoof, the function you're looking for is GetWindowPlacement
<2> see the rcNormalPosition member of the WINDOWPLACEMENT struct
<4> we're having some problems with the profiler AQTime. Does anyone here have any experience with it? (specifically, it will profile my debug flavor, but not the release)
<6> http://www.automatedqa.com/forums/d.cgi?cmd=xover&group=automatedqa.public.aqtime&utag=
<6> vic ^
<3> http://www.noidea128.org/sourcefiles/15964.html
<0> _itoa ? wow
<0> holospoof why don't you get a book
<0> and learn C++
<3> how rude.
<0> it's not meant to be rude
<0> you shouldn't be using arrays of characters to act like strings like this
<3> its quick and easy.. thats all I need.
<3> plus, that isnt the problem
<0> *shrug*
<3> the numbers end up being too big, which is because the rectangles arent adjusted correctly even after calling AdjustWINDOWRect
<0> well
<0> um
<0> read the documentation for AdjustWindowRect
<0> it says:
<0> Note that you cannot specify the WS_OVERLAPPED style.
<0> then you follow the documentation for WS_OVERLAPPEDWINDOW
<0> if it's not obvious, it specifies WS_OVERLAPPED
<0> as well as WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX
<0> so, that's a problem
<4> JBlitzen thanks for the link.... we're not that tricky, just a single threaded no dll console app
<6> Dunno
<6> Just thought the link might help
<5> as if JBlitzen could help someone
<5> HAH
<6> Pfft, never used aqtime
<6> vawjr
<6> [15:55] <surdy> Yes, JB.
<6> [15:55] <surdy> Could you put in a word for me to have me unbanned from #math and #C++?
<6> [15:55] <surdy> That ban is not meant for me.
<6> [15:55] <surdy> My ISP is common.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#AllNiteCafe
#mirc
#php
sleazydrem
#c++
#MissKitten
Vitamin C secret
#linux
rdate public-servers
/proc/filesystems suse 10.1 ntfs



Home  |  disclaimer  |  contact  |  submit quotes