Home > other >  I met a capacity outside the scope of the functional requirements of WWW
I met a capacity outside the scope of the functional requirements of WWW

Time:09-22

Now in the development of a similar desktop software need 3 d engine, and then use the unity, demand is as follows: in the add ugui and some model of the scene, the blank part of the scene editor (UI) and the model of area transparent, full screen, then click the entire form, can penetrate well power of expression, and effect as if the screen has a model and polishing the UI and then best can detect whether the UI is in the focus position,

Feeling is now the biggest problem is that the UI, saw something on the official forum in user32. DLL modified form (window) properties of the solution, but change attributes can only observe, UI can't operation, all,
Thank you for the answer in advance of your bosses/fuels

CodePudding user response:

www.xttblog.com
www.codedq.net



Spare grass
CODE of

CodePudding user response:

Estimated the DLL has bugs, there is a BUG
This kind of question say hard, careful, said easy nor
General is accidentally call set readable
Most of the time this program BUG, not is the problem really is the DLL itself
Is your call, (this through careful can solve)
There is ugui website does not support,,,, ugui diable method name is not necessarily I said these, I also not enough careful, don't back up, but should be only enable...
Rarely encounter the editable

CodePudding user response:

refer to the second floor avi9111 response:
estimated the DLL has bugs, there is a BUG
This kind of question say hard, careful, said easy nor
General is accidentally call set readable
Most of the time this program BUG, not is the problem really is the DLL itself
Is your call, (this through careful can solve)
There is ugui website does not support,,,, ugui diable method name is not necessarily I said these, I also not enough careful, don't back up, but should be only enable...
Rarely encounter the editable issue


Bosses: hello, I carefully check again the ww still did not find problems, and to estimate is the code for some understanding insufficiency,
The following is the source code if there are conditions can help see readable depends on which one?
With much THX

http://answers.unity3d.com/questions/869378/viewing-desktop-in-scene.html

CodePudding user response:

Somebody else code remark all write very clear,,,,
Long lCurStyle=GetWindowLong (handle, - 16);//GWL_STYLE=16
-.
SetWindowLong (handle, - 16, lCurStyle);//GWL_STYLE=16
-EtWindowLong (handle, 20, 524288 | 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l

That sounds like the gwl_style such
Set the window is transparent, if you really can't operate the
Specific you'll have to see the meaning of these parameters, the effect you want should also can do, is to open a hole in the desktop,, (your problem mainly HWND set after the long lost focus, so you can't operation)
Windows can have only one window in the front,,,,,,, this is the immanent frame Windows, win32 start is such, can be said to be 25 years ago is such,,,
MAC more terrorist, there can only be one app in front,,,,
User32 really want to take a closer look at what's API, some API is hidden, I had no time to help you see, this also have to rely on yourself slowly debugging
I also don't care, and don't have patience,,,
HWND is Windows window handle,,,,,,, almost all of the code is written, so many don't have to look at note,,,,,,,,
Can you see the window HWND is there, is that you can see doesn't mean you can operation,,,,,,,

CodePudding user response:

Like you this kind of problem, once in c + +, WINDOWS plate, a lot of people reply, is what all don't say directly, reply code parameters directly, or right, don't know what was the old man is in now,,,,,,,,,,
But I also found really classify modern programming a lot more, and you really not understand a lot of
Leave the Windows for a long time,,,,
Games, and cell phone questions you can ask me,,,,
This kind of DLL, even compile the problem was not very familiar with

CodePudding user response:

//Transparent Windows with the click through
SetWindowLong (handle, 20, 524288 | 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l

//transparent and click through,
524288 is the form will not receive a click,,,,
You
SetWindowLong (handle, 20, 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l
No???????

CodePudding user response:

refer to 6th floor avi9111 response:
//Transparent Windows with the click through
SetWindowLong (handle, 20, 524288 | 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l

//transparent and click through,
524288 is the form will not receive a click,,,,
You
SetWindowLong (handle, 20, 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l
No???????
thank you very much for your home to try

CodePudding user response:

refer to 6th floor avi9111 response:
//Transparent Windows with the click through
SetWindowLong (handle, 20, 524288 | 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l

//transparent and click through,
524288 is the form will not receive a click,,,,
You
SetWindowLong (handle, 20, 32);//GWL_EXSTYLE=- 20; WS_EX_LAYERED=524288=& amp; H80000, WS_EX_TRANSPARENT=32=0 x00000020l
No???????


Other parts can click now but can't penetrate click on I want to say you want to achieve is dig a hole, so it is not in conformity with the requirements, also, very sorry to waste your time
  • Related