Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jvff
  • Content: Threads
  • Order by date
  1. jvff

    Win32 API: Disabling window resize

    Hello, I would like to know how to disable the user from resizing my window created with CreateWindowEx. Thank you, JVFF
  2. jvff

    Getting raw pixels

    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
  3. jvff

    Trigonometry

    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)
  4. jvff

    List

    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...
  5. jvff

    Memory stream?

    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)
  6. jvff

    Getting all sounds produced by the computer

    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)
  7. jvff

    How to get the screen resolution?

    Hello, I want to get the screen Width and Screen Height. How can I do that? ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  8. jvff

    How do I get a char before a word and after a word?

    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...
  9. jvff

    Selecting a whole line in a TRichEdit

    Hello, How do I select an entire line from a TRichEdit and change it's font? ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  10. jvff

    How do I search a string for a letter?

    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...
  11. jvff

    How do I make the program wait for a few seconds?

    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)
  12. jvff

    How do I create a folder through BCB code?

    Hello, I want to create a folder through code. How can I do that? ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  13. jvff

    How do I set a fix Index for an item at TreeView.

    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...
  14. jvff

    What is the folder with default icons?

    Hi, what is the folder that comes with borland that contains many icons for toolbars? Please help me. ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  15. jvff

    Not showing pixels.

    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...
  16. jvff

    How do I show a CDC?

    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)
  17. jvff

    How do I create a HDC for the &quot;FormView&quot;?

    Hi! I need to create a HDC for the useable part of the dialog box so I can change some pixels. How do I create the HDC? ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  18. jvff

    I cann't create a class!!! Unexpected end of file error

    I've tried to create so many classes like CBitmapFile CBlock but all of them present compiler error: Unexpected end of file while looking for precompiled header directive. Please help... ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  19. jvff

    Update the screen smoothly?

    Hi! I have 400 images on a form. I need to use Refresh() without making the screen blink. ThanQ, ;-) JVFF (Janito Vaqueiro Ferreira Filho)
  20. jvff

    Is there any way to turn a group of images into an array?

    Hello, I've got 300 images called Image1, Image2... Image300. Is there any way to make an array so that I may use: Image[SpinNum1->Value]->Picture->LoadFromFile(&quot;b.bmp&quot;); instead of a 2 huge switches ( I am already using switch(EditChosenChar->Text) ). ThanQ. ThanQ, ;-)...

Part and Inventory Search

Back
Top