Jump to content

  • Log In with Google      Sign In   
  • Create Account

JohnnyCode

Member Since 10 Mar 2008
Offline Last Active Today, 04:21 AM

Posts I've Made

In Topic: Preventing overengeneering

Yesterday, 05:06 AM

My creative needs have led me to code my projects in, I would call it, "put aside all not vital stuff".

 

Thus I found myself quite loosing OOP code, and maximizing modular aproach.

Instead of objects being able to for example interpolate by 4 sample themselfs, I have a large library that accepts certain objects and does it for them with some function of it.

 

So I ended up with pretty tiny objects, and a big module skycraper that works with them. It seems for me that structure of my projects got much simpler and very happy to play with- factor, or try'n'see inspections.

 

Also I got much safer in memory unmanaged languages if porting such solutions.


In Topic: Handling Mouse Movement

21 August 2016 - 05:25 PM

WM_MOVE message indicates a change in cursor position.

This change is attributed to you only if it happens in the scope of your APP window. No where else.

It is up to the Application speculation how to handle it. It literaly states "current postion", while the event does or does not provide previous one- in the scope of application as well- in time or anywhere else.


In Topic: Handling Mouse Movement

21 August 2016 - 05:18 PM

There is a little "arbitrarity" in the dilema - but I have made it succseffully towards mouse intented Control.

Serving quite well, please, ask further questions if so.

 


You simply must prepare your application for "mouse escape" eventualy, and for the "mouse returnal" event.

If it is to be smooth, you also can count on the fact that mouse escape means application dwelling, and certain actions you can take ^_^ 


In Topic: Handling Mouse Movement

21 August 2016 - 05:07 PM

Um... Doesn't WM_MOVE indicate that the window was moved to a new position?

WIndowd not, cursor yes.

Exactly, mouse MOVE event provides a position of event at stake, and, it is up to the responsibility of program to have recorded the last one (the differentive one).

This goes further from comfortable seeking of MOVE differency. MOVE event literaly tells momental state -but only in YOUR SCOPE of happening. If your scope of happening has been escaped, you need to track it back to yourself if returned.


In Topic: Trump Is The Republican Candidate - Now What?

21 August 2016 - 05:01 PM

Could someone please explain to me why Hillarious C is such a bad counter part for this presidental race? I never could know myself, but I am already massaged so well,  that I believe she is just a little little bit less of an evil? Why? Where from am I? (I already am)


PARTNERS