Does glut have something to set the mouse position to the middle of the screen? - glut

I'm adapting an opengl tutorial that uses the win32 api to glut. I found this win32 function:
SetCursorPos(middleX, middleY);
Does glut allow me to set the cursor like this?

There's glutWarpPointer() in Nate's GLUT implementation, though I can't find that entry point in the official spec.

Related

Does Direct3D makes calls to bitBlt from GDI32.dll

I coded a demo application which uses
https://learn.microsoft.com/en-us/windows/desktop/api/d3d9/nf-d3d9-idirect3ddevice9-getfrontbufferdata
to perform screen capture of the my desktop.
My problem is when i use APImonitor I can see that when I takes screen shot, my application call bitBlt.
So can anyone tell me if Direct3D getfrontbufferdata is implemented using bitBlt?
Is there a dependence between gidi32.dll and directX ?
Thank you,
It seems that DirectX can choose to use bitBlt, depends on your GPU caps, texture source /destination/format/size.
Perhaps you should read this :
Fastest method of screen capturing on Windows

Missing Widgets in GNU radio companion (GRC)

I have started using GNU radio and was following this YouTube tutorial series to get familiar with GRC.
While following along with the tutorials I noticed that I am missing many of the GUI widgets that the tutor was using, for example, the variable slider widget.
I realise that the blocks ultimately translate to some python code, and we could create our own widgets, but the issue is with missing default widgets.
It may be relevant to state here that the software was installed using the synaptic package manager following the instructions given here.
Is there a fix for this? Maybe some more packages available on Synaptic?
In your linked tutorial, I believe that wx widgets are used. These are deprecated and you should swap to a Qt gui top_block. To get the slider he used, you may stick to a WX GUI Slider or use a QT GUI Range block, depending on whether your flowgraph is in wx or qt

How to use StreamGeometry class on Windows Phone

I try to draw curve reference to Petzold Book Block
and I try use this in Windows Phone 8. These libraries not support StreamGeometry class in namespace System.Windows.Media.
How to try draw it on WP8? Thanks
StreamGeometry is not supported in Silverlight for Windows Phone. To see the full list of available classes, see this MSDN link.
You will have to find another way of simulating StreamGeometry for your application. You should be able to simply use PathGeometry instead.

Display Touch Screen Keyboard in Windows Tablet through Unity 3D

I am creating a registration page in my game in Unity. Data related features are working fine, but I am not getting the keyboard to Pop Up automatically/programatically when TextField is clicked.
Is touch screen keyboard support available in Unity for Windows 8 Tablet? I have searched a lot of forums but did not get the solution. All say that this feature is not provided for Windows yet.
I read a solution on Unity's Documentation for Android and IOS, but nothing is available for Windows.
I tried:
Keyboard = TouchScreenKeyboard.Open("",TouchScreenKeyboardType.Default,false,false,true);
But this is not allowing me to create a build for Windows Store. Shows me an error:
Assets\Script\RegiPage.cs(15,10): error CS0246: The type or namespace name 'TouchScreenKeyboard' could not be found (are you missing a using directive or an assembly reference?)
Please help. Thanks in Advance
Currently, you cannot do the function you are looking for .
http://forum.unity3d.com/threads/186697-No-Keyboard-on-Windows-8

Capture screen as movie with VB.NET

I want to capture a video of my screen with vb .net, and i'd like to avoid using directx. I found a tutorial here http://www.codeproject.com/KB/audio-video/CaptureScreenAsVideo.aspx but it resulted in the program instantly crashing, i think it was designed for .net 1.1;
Is there another way to do this?
Thanks
It works. Just read instruction. Install SDK and Encoder.