Skip navigation.

Lolek blog

Everything and nothing...

Posts tagged with "c++"

[c++] borland builder canfocus problem

, , , ...

Hi there,
today i want to share with you something that i had discovered today. During my work i got some problems with setting the focus on specified component... well sometimes i got access violation,and that kind of stuff...
The problem could be solved through method that is implemented in all components/objects that are inherited from twincontrol... called CanFocus()... the problem is that this method has also some problems with borland frames... so, the only way is to write your own function to get the same behaviour of the original one...
so, if you're looking to solve problem as mine.. read below to find out the source code...

Read more...

[c++] borland codegear and gecko browser api part 2

, , , ...

Hi again,

on my last post i said that in the future i'll give you a working library for borland to connect with mozilla gecko (xulrunner), well ok, i'm still trying but i don't have much time and the problems are still the same.. ;/

Well because of that i made something different. I compiled Winembed project from xulrunner sources in Microsoft Visual Studio Express, made a dll library and export some function, that allow me to manipulate gecko window. Thx to that i've got working javascript injecting and exposing c++ functions/objects in javascript, window resizing, some events...
but i can't get input focus i.e. after the page is loaded i can click on links but i cannot enter any text..

Well i'll try to got this working, and after that i'll try to post here a working example with of course library.dll for connecting with xulrunner and also header file so anyone can use it...

that's all, hope that you'll find what you're looking for :wink:

Read more...

[c++] borland codegear and gecko browser api

, , , ...

Hi there,
i want to share you with some general info about embedding gecko browser inside CodeGear c++ application.
If you're interested, please read below :wink:

Read more...

[c++] always on top source code

, , , ...

Ok, because many people come here searching probably the source code - solution, how to set up window always on top, i'm posting the two lines of the code.. from my app that you can find in previous posts...


Read belowe to find more...

Read more...

[c++] a little program to help people "always on top" new version

, ,

Hi all,
long time since my last post..
i'm here with a little improvement for my small app
it's version: 0.2.3
and i fixed problem when working on dual screen machine..

here is the new version:
AlwaysOnTop v 0.2.3

If you're looking for the code to set the window always on top, check this post.

the week is getting end

, ,

And here i'm back.. well this week was very ..heavy ... a lot of work in my job and this is main purpose why i didn't wrote anything for about several days. Today i've learned new things from c++, hope soone i'll be able to put here some stuff maybe source code for some extra thing/function/class ... dunno the only thing i know is that i want to expand my knowledge cause it's my problem, i'm always hungry of knowledge from the IT ...

Read more...

Operon the next part...

, ,

hi, here i'm back.. :wink: well as i though .. Operon didn't answer... well i don't think that they will ever answer ... maybe my mail was to.. erm.. indelicate :d (dunno if this is good word)... but they should send some reply even "we don't care" would be good... but well...

about today... well i'm finally coming to the end of the huge project... hope will get it working tomorrow so i can get rid with my study project for exams :D
For now i've just one problem i dunno how to solve the cms plugin system ... maybe will figure it out in few days... will let you know ...

and about work.. yeah... i discovered something... 1 thousand of threads in Turbo Borland can kill BDS :D ... and the second think is that only 1 socket per second under windows is allowed to open connection. on the same port.. tomorrow will try to make some extra tests and leave some info for others..