March 21st, 2008 by Rno
If you’re planning to build from the ground up a Win32 window without using the wizard, and would like to use TAB to move from a control to another one you need to add WS_TABSTOP style to all of your controls (at least ones you want moving on). But there is also something you need to do: add a call to IsDialogMessage to your event loop.
That’s all folks.
December 15th, 2007 by Rno
I’m going to talk about something which is probably already fixed, but for any who doesn’t want to install msys again and is encountering a problem during an installation command (/bin/install) under Vista, here comes the trick!
Download the following files into your bin folder (for example: c:\msys\1.0\bin): install.exe.manifest and install-info.exe.manifest.
Then, within a msys terminal type: touch /bin/install.exe /bin/install-info.exe
You can proceed with your install 
May 18th, 2007 by Rno
A quick (& dirty ?) post from word
May 6th, 2007 by Rno
It’s been a while that I was planning writing tutorials about Win32 coding and more.
I finaly found the time to work on it, so here it comes, my first tutorial about win32. Click on the tutorials section in the menu above or jump here.
Feel free to send me an email if you find any mistake.
I’m already writing the next one.
May 5th, 2007 by Rno
This is just a quote about: Stop begging for candies or you will …
Each midday we buy food and each friday we get free candies! And each friday a colleague is begging for our candies, I have no problem with that but today another colleague got a sooo goooooood idea! He has trapped a candy! How? He powdered the candy with salt
Then he put the candy on his desk and let it there until …
During the afternoon, our colleague saw the candy! He took it and once he had it in his mouth, he felt that there was a problem
We all laughed like kids for this awesome joke.
Sorry dude, but it was sooo gooood! 
May 1st, 2007 by Rno
Hey, a little news !
Thanks to Cornelius who made it, my new floating head is alive

I’m pretty sure you’re already laughing
It comes from a photo taken before watching a 3D movie at Futuroscope. AWESOME !
May 1st, 2007 by Rno
Few weeks ago I’ve installed Windows Vista 64bits (the business one) …
I’m a bit affraid about the 64bits thing, because the quest of finding compatible drivers, softwares and so on should be really awefull. And not, Vista found everything for me plus all 32bits softwares from XP or Vista 32bits work like a charm (at least those I usually use
).
I’m enjoying everything on it, from the UI to the UAC. Ok, I can’t use my dual screen like I did on XP with nVidia drivers (I’m talking about spanning), and UltraMon is not ready yet, but everything seems to be sooooo cooooollll !! Ok, there are 32bits and 64bits processes running twice to serve one or other but ok, it’s only a matter of time to have all softwares running in 64bits, right ? So, the huge amount of memory that all of these are using will disappear in a few …
Unfortunately, the dream is stopping into a succession of BSOD. Hey guys, I’ve not started coding yet ! What’s the hell ? After lots of investigations, antivirus scan and so on … Is Vista going crazy ?
Disappointed, I install it once again but this time I try the 32bits version. And guess what ?? A heavy noise is coming from my brand new hard drive (ok, it’s 1 year old …), oh my god ! I stop the installation, restart it on another hard drive, and everything goes well.
This time, everything is faster than on the previous installation. Crossin’ fingers …
March 18th, 2007 by Rno
Hey,
it’s done: I’ve switched to a new web hosting. I think I miss-upgraded the wordpress db (yes I used the upgrade.php script !) but seems like some columns are missing
: I can’t have the links section back on my sidebar! It’s not really important since I think I will do a fresh install a day
I’m planning to move the projects area to pages into wordpress but I need to find out a roxy theme
Update: I’ve changed to this theme because the other one was using features I don’t want anymore (gallery2 embedding, widgets, …).
Update2: If someone knows how to remove the margin of these smileys got ! I didn’t succeeded to remove it !
Update3: Thanks to Nico, the margin is now fixed
HAPPY !
January 24th, 2007 by Rno
As I said in my previous post, I had to talk about SetCapture() function.
To start, I need to explain what SetCapture does. This function sets the mouse capture to the specified window belonging to the current thread. (cf. copy / paste from msdn). What does it mean ? It means that all mouse events will be sent to a specific window.
Now that we all know what SetCapture does, I have to explain the need. I have to implement in Aoof-Wm the framework, on which Toy’d is based, a XGrabPointer like. But what is XGrabPointer doing ? Exactly the same as SetCapture. So what was the problem with SetCapture is what you’re wondering, isn’t it ?
We need another tip !
On unix / GNU/Linux, you can move a window by pressing alt and clicking anywhere on the window and then dragging it. It’s particularly useful when you don’t want to waste some time to move the mouse to the titlebar and then drag it. Ok, now I can explain the problem
For a standalone application there would be no problem, but for a window manager there will. On the Aoof-Wm implementation of a window manager, we use the unix like system which consists of a process which is in charge of frames around each application. So the frame does not belong to the same process of the window application. It means that you can’t do a SetCapture on the frame and then receive all events of the mouse because there is another window just on top of the frame … That’s the problem. So I decided to re-implement a quick SetCapture / XGrabPointer-like on Windows which does everything I need. The first version is really ugly but works. And I’m currently writing the new version which will be better, at least I guess
So the next post will be about the last implementation I made as a replacement of SetCapture. Stay tuned !
January 15th, 2007 by Rno
Today, I’ve discussed with Barratis about sloppy focus. What is sloppy focus
? Sloppy focus stands for focus follow mouse.
For those still there
I’ve looked for SystemParametersInfo into msdn, after a minute I found it, so here is the source code to activate the sloppy focus under Windows.
SystemParametersInfo(SPI_SETACTIVEWINDOWTRACKING, 0, (PVOID)TRUE, 0); SystemParametersInfo(SPI_SETACTIVEWNDTRKTIMEOUT, 0, (PVOID)100, 0); SystemParametersInfo(SPI_SETACTIVEWNDTRKZORDER, 0, (PVOID)FALSE, 0);
In next posts I will talk about the function SetCapture and problem I encountered with it.