// JP opened flex table

Click to See Complete Forum and Search --> : difference between process and window handle


mase
September 12th, 2007, 11:59 AM
this is a newbie question, so please don't mind my question. What is the different between process handle and window handler(HWND hWnd)?

kirants
September 12th, 2007, 12:22 PM
A process represents mostly an exe that has been spawned to do a particular task. It simply represents , as it's name says, a process of different activities.
The activities themselves might be myriad of things like printing, networking, user-interface interaction etc. , each individually or in combination. A process handle represents that abstract thing that you could imagine to be happening when an exe's ignition is turned on.

a window handle represents a window object. A window is mostly a user interface concept. easiest way to visualize this is to think of the edit box you are typing in as a window. when you are typing in characters, the window object is being sent messages that a typing is in process , the window object then does what it wants to do ( which in case of edit box , is to echo the characters typed on the visual screen ). A window handle represents such entities.

Does that help ?

mase
September 12th, 2007, 12:57 PM
cool, got it. thanks

ovidiucucu
September 13th, 2007, 11:15 AM
[ Split thread ]

//JP added flex table