Archive for November, 2005

Weird VB error

Today I was getting a strange error in Visual Basic: “Unable to show modal form within this context” – that happened in a VB activex control method that was called by a c++ event handler of a VB fired event (so it’s clear that the context was pretty messy :) ). Didn’t know what to do to fix it – thus resorted to one of my usual workarounds on these issues by using a one-shot timer after 10 ms that will continue the process.

Nokia new N-Series

I’m pretty sure this will be my next phone, in black flavour of course. First I was decided to get N91 because of HDD but this one is really better, by the way they both have WiFi. Also, don’t forget Nokia’s new browser here.

CComboBox and item height

I found a weird issue with CComboBoxes that don’t have the default item height (-1) (that is the height of the control when not opened minus the border) – it appears that SetDroppedWidth resets the value to the default (15 or I guess it depends on the font).