Hello,
I have some Images (or BufferedImages) that I need to get the Color of some pixels (x, y). Is there a way to do that? Java API says I need to get BufferedImage's Raster and use function getPixel, but the function returns an array of doubles. I need just the Color. Thank you,
JVFF
Hello,
The int sin(int) function isn't working. If I put sin(90) it returns 0. If I put use double cos(double) with cos(90) it returns -0.043. Is there an alternative to the default functions? ThanX,
JVFF
ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
is there a way to use some sort of list as an array? I want to, example:
list<int> myList;
myList[3] = 4;
int a = myList[3];
mylist[30000243857292084] = 56937;
a = mylist[30000243857292084];
myList[0] = 0;
int b = myList[0];
...
Is there any way to do something similiar? ThanX in...
Hello,
Is there a way to use some sort of memory stream like the std::fstream? This is for a normal, (almost) plain Win32 Console app. ThanX in advance.
ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
Is there a way to record all sounds the computer sends to the speakers (not the computer internal beep speaker, the sound speaker)? I need a component, library, unit, anything to do that. ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
Are you sure it's settings is to not pop-up the window? Search in Borland's setting to not show the CPU window, otherwise check to minimise the window when running. ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hello,
Thankz for your post! :-)
That is more complex syntaxing. I want to first syntax the word simply. All I want to do now is syntax a whole word as a word. I want to simply check if there is any alpha-numerical characters before and after the word. More complex syntaxing I already have...
Hello,
I'm working on a project that needs syntax hylighting. It needs to highlite some keywords. What I did so far was, OnChange of TRichEdit, convert the entire line where the user is typing into black and 'Courier New'. Then I look for the keyword on the line and set it's color to blue...
Hello,
I am making a PC Player program (see www.jvffprogramming.hpg.com.br for more info) and I need to read a command from a file. I loaded it into MemoHidden and now I need to check MemoHidden.Lines.Strings[1] to see if it has the character '(' and the position it is to SetLen to remove the...
Hello,
I am a C++ Program, new to Object Pascal. Is there a function to make the program wait for a few seconds like Sleep() in C++? ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
Hi I created this TreeView
Project
C++ Files
Resources
Classes
then when I click a button ity adds a child to Item[1]
Project
C++ Files
Noname
Resources
Classes
then when I click a button to add a resource Item[2] it does this:
Project
C++ Files...
Hi,
I created this code for opening pixels but it doesn't work.
void CPCPlayerDlg::OnPaint()
{
unsigned short int index = 0;
unsigned long int x = 0;
unsigned long int y = 0;
if (IsIconic())
{
CPaintDC dc(this); // device context for painting
SendMessage(WM_ICONERASEBKGND...
Hi!
I got the hwnd handle and I've setted some pixels but I don't know how I can put the changed pixels onto the screen. How can I do that? ThanQ, ;-)
JVFF (Janito Vaqueiro Ferreira Filho)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.